Hey, is there any way to do an action when a variable (integer, global) reaches a certain point? For example, once the player's score hits a certain amount, how do I give the victory message to said player?
EDIT: Nevermind, I figured it out. Just set the event to Map Initialization, and the Actions to:
General - Wait for (Conditions), checking every 0.1 Real Time seconds
Conditions
Or
Conditions
Score 1 == 100
Hey, is there any way to do an action when a variable (integer, global) reaches a certain point? For example, once the player's score hits a certain amount, how do I give the victory message to said player?
EDIT: Nevermind, I figured it out. Just set the event to Map Initialization, and the Actions to:
General - Wait for (Conditions), checking every 0.1 Real Time seconds
Conditions
Or
Conditions
Score 1 == 100
Wouldn't it be enough if it checks every second or more?
Give the trigger no event. then use the 'run trigger <trigger>' whenever you change the score. Saves a lot of triggers.