trigger event when wm_setwinner 0 is executed


(Teuthis) #1

I have a nice end Scene that is triggered after wm_setwinner 1 is executed. However, I want to have an alternative animated end Scene when wm_setwinner 0 is executed. Problem now is that the wm_setwinner 0 is only executed after time is over so I don’t know how after the time is over I can Trigger an Event. Long Story short, how tell the script that a certain script block shall be executed when the winner is set to 0?

haven’t seen in any map before that there is an animated end Scene when the winner is 0 so it might be possible that wana do here something that is script-wise impossible.

any ideas?

it actually must be possible since for example there always is a voice announcement when only 5 min are left. So technically it must be possible to also execute something when the time is 0, no? but strangely I can’t find the script part that executes this voice command when 5min are left.


(Mateos) #2

There’s a trigger called timelimit_hit inside the game_manager, you can see Siwa Oasis for an example

You can even use it to keep the people in the map after 0:00 is reached :slight_smile:


(twt_thunder) #3

You must spread some Reputation around before giving it to Mateos again. :frowning: great dude, you’re awesome!!!