| Blockland Forums > Modification Help |
| Arguments for serverCmdCreateMinigame(); and serverCmdEndMinigame();? |
| << < (3/4) > >> |
| Greek2me:
I'd recommend using MinigameSO::onAdd(%this) and MinigameSO::onRemove(%this) instead of serverCmds. |
| mp7964:
--- Quote from: Greek2me on October 03, 2011, 08:24:18 PM ---I'd recommend using MinigameSO::onAdd(%this) and MinigameSO::onRemove(%this) instead of serverCmds. --- End quote --- AH! Perfect. Thanks, Greek. |
| Greek2me:
No problem. It actually might be better to use MinigameSO::endGame(%this) instead of ::onRemove, but it's your call, it shouldn't matter much. |
| mp7964:
--- Quote from: Greek2me on October 03, 2011, 09:07:49 PM ---No problem. It actually might be better to use MinigameSO::endGame(%this) instead of ::onRemove, but it's your call, it shouldn't matter much. --- End quote --- It's a client script, so it would need to be onRemove, endGame applies to the minigame, not the client by itself. Still, it might be useful if I make a server version. |
| Amade:
--- Quote from: mp7964 on October 04, 2011, 06:37:18 PM ---It's a client script, so it would need to be onRemove, endGame applies to the minigame, not the client by itself. Still, it might be useful if I make a server version. --- End quote --- I'm actually fairly certain you can't do something like this client-side. |
| Navigation |
| Message Index |
| Next page |
| Previous page |