Ok, here's the problem. I just started doing in sc2 editor and have some problems..
Anyway, here is the trigger. I want simple countdown system but number 9 keeps showing all the time. I know it's because of the event trigger which sets Number_Variable to its initial value every time, but how to override that?
Number
Events
Timer - Every 1.0 seconds of Game Time
Local Variables
Number_Variable = 10 <Integer>
Conditions
Actions
Variable - Modify Number_Variable: - 1
Text Tag - Create a text tag with the text (Text(Number_Variable)) for (All players), using a font size of 24, at (Center of Region 001) and height offset 1.0, initially Visible, and fog of war enforcement set to false
Text Tag - Show (Last created text tag) for (All players)
Text Tag - Set the velocity of (Last created text tag) to 1.0 coordinates per second at an angle of 90.0 degrees from horizontal
Text Tag - Set Duration time for (Last created text tag) to 2.0 seconds
Anyway, here is the trigger. I want simple countdown system but number 9 keeps showing all the time. I know it's because of the event trigger which sets Number_Variable to its initial value every time, but how to override that?
Number
Events
Timer - Every 1.0 seconds of Game Time
Local Variables
Number_Variable = 10 <Integer>
Conditions
Actions
Variable - Modify Number_Variable: - 1
Text Tag - Create a text tag with the text (Text(Number_Variable)) for (All players), using a font size of 24, at (Center of Region 001) and height offset 1.0, initially Visible, and fog of war enforcement set to false
Text Tag - Show (Last created text tag) for (All players)
Text Tag - Set the velocity of (Last created text tag) to 1.0 coordinates per second at an angle of 90.0 degrees from horizontal
Text Tag - Set Duration time for (Last created text tag) to 2.0 seconds