Testing for game end?

A forum for discussing map making ideas and problems for the Myth series.
Post Reply
User avatar
Khadrelt
Posts: 479
Joined: Tue Aug 29, 2006 2:59 pm
Location: Utah, USA
Contact:

Testing for game end?

Post 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.
The cake is a lie.
User avatar
haravikk
Site Admin
Posts: 987
Joined: Mon Mar 22, 2004 12:56 pm
Location: Scotland

Post 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.
Being Haravikk gets you girls like these:
Image
User avatar
Khadrelt
Posts: 479
Joined: Tue Aug 29, 2006 2:59 pm
Location: Utah, USA
Contact:

Post by Khadrelt »

Thanks for the help!
The cake is a lie.
Post Reply