Copyright © 1997 Blizzard Entertainment. All Rights Reserved. said:
SWITCH
A switch is a simple on/off variable. Using switches allows you keep track of which triggers have been used or to keep a trigger from activating several times simultaneously if multiple players meet the conditions at the same time.
All switches can either be set or cleared(on or off). All switches are by defualt cleared. When you set a switch, the switch will stay set until you clear it and vise versa.
Let's say 'Location Start' is where the Zerglings(bounders) start and 'Location End' is where the Zerglings need to go to finish the level.
PLAYERS
-Computer player recommended.
CONDITIONS
-Force 1 brings atleast 1 Zergling to 'Location Start'.
ACTIONS
-Set Switch 1.
PLAYERS
-Computer player recommended.
CONDITIONS
-Switch 1 is set.
ACTIONS
-All the actions you have for a level.
PLAYERS
-Computer player recommended.
CONDITIONS
-Switch 1 is set.
-Force 1 brings atleast 1 Zergling to 'Location End'.
ACTIONS
-Clear Switch 1.
-Set Switch 2(Optional; Switch 2 could be level 2 or another level).
Do you understand? I can make a tutorial map to show you if you want.