Add Action

Komaqtion

You can change this now in User CP.
Reaction score
469
Can only be done in JASS, and then you just add action as functions, so you can't really use Custom Scripts either XD
 

warden13

New Member
Reaction score
32
Can be done in GUI.

You write your triggers those will be added later under a "If/Then/Else".
Add a condition that checks a boolean if true.

Make a trigger that enables the boolean. Like this:

Code:
wait
    Events
        Time - Elapsed game time is 60.00 seconds
    Conditions
    Actions
        Set boolean = True

Code:
action
    Events
        Time - Every 5.00 seconds of game time
    Conditions
    Actions
        Unit - Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                boolean Equal to True
            Then - Actions
                Unit - Create 5 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
            Else - Actions

As you can clearly see that, "action" trigger will spawn 1 footman, but after 60 seconds, it will start to spawn 5+1 footmans.

I hope it helps you.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top