Page 1 of 1

Testing for game end?

Posted: Tue Oct 16, 2007 9:33 pm
by Khadrelt
Is there a way for a map action to test for the end of a netgame? I want the game end to trigger a model animation, but can't seem to get it to work right.

Posted: Mon Oct 29, 2007 5:17 pm
by haravikk
In Loathing map-actions simply create a "Netgame Time" action set to deactivate on success. On the middle row of buttons click "Add" and select "Game Over", select the game-over entry and hit the "Add" button at the bottom of the screen, enter a value of "true".

Now hit the middle "Add" button again to add an "Activates on Success" condition and add any actions you wish to trigger to the list at the bottom.

You can do time remaining less than as well if you want to do something 10 seconds before game-end, however it does not account for sudden death, so the closest you can get to the end game (without actually being end-game) is when sudden death begins, since it can end at any time. You are better off making sure your end-game actions can be reasonably completed within the time before the game switches back to the game-lobby.

Posted: Mon Oct 29, 2007 5:58 pm
by Khadrelt
Thanks for the help!