- Joined
- Apr 14, 2012
- Messages
- 2,901
i kind of need help making a trigger that spawns creep at one point, and orders them to attack/move to another point, without any leaks or errors.
Is this right??
--------------------------------------------------------------------------
because every time i do this the units attack Unit, then go back to the center of Region 000. The units spawned become a mess. Help.
Is this right??
--------------------------------------------------------------------------
-
Creep Spawn
-
Events
- Time - Every 30.00 seconds of game time
- Conditions
-
Actions
- Set Counter = (Counter + 1)
- Unit - Create 3 Draenei Darkslayer for Neutral Hostile at (Center of Region 000 <gen>) facing (Position of Defender Of Light 0001 <gen>)
- Trigger - Run Creep Stop <gen> (ignoring conditions)
-
Events
-
Creep Stop
- Events
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Counter Equal to 10
-
Then - Actions
- Trigger - Turn off Creep Spawn <gen>
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Creep Move
-
Events
- Unit - A unit enters Region 000 <gen>
-
Conditions
- (Owner of (Entering unit)) Equal to Neutral Hostile
-
Actions
- Unit - Order (Entering unit) to Attack Unit
-
Events
because every time i do this the units attack Unit, then go back to the center of Region 000. The units spawned become a mess. Help.
Last edited: