- Joined
- Aug 22, 2011
- Messages
- 29
Hello
I have made a skill where a hawk is summoned, but i want to make the hawk not be able to leave the summoners position.
my triggers:
I have made a skill where a hawk is summoned, but i want to make the hawk not be able to leave the summoners position.
my triggers:
-
SilverHawkRegion Player 1
-
Events
- Time - Every 0.50 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units owned by Player 1 (Red)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of (Picked unit)) Equal to Hunter
-
Then - Actions
- Region - Center SilverHawkAreaPlayer1 <gen> on (Position of (Picked unit))
-
Else - Actions
- Trigger - Turn off (This trigger)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units owned by Player 1 (Red)) and do (Actions)
-
Events
-
SilverHawkPlayer1
-
Events
- Unit - A unit leaves SilverHawkAreaPlayer1 <gen>
-
Conditions
-
And - All (Conditions) are true
-
Conditions
- (Owner of (Leaving unit)) Equal to Player 1 (Red)
-
Or - Any (Conditions) are true
-
Conditions
- (Unit-type of (Leaving unit)) Equal to Silver Hawk (Level 1)
- (Unit-type of (Leaving unit)) Equal to Silver Hawk (Level 2)
- (Unit-type of (Leaving unit)) Equal to Silver Hawk (Level 3)
- (Unit-type of (Leaving unit)) Equal to Silver Hawk (Level 4)
- (Unit-type of (Leaving unit)) Equal to Silver Hawk (Level 5)
- (Unit-type of (Leaving unit)) Equal to Silver Hawk (Level 6)
- (Unit-type of (Leaving unit)) Equal to Silver Hawk (Level 7)
- (Unit-type of (Leaving unit)) Equal to Silver Hawk (Level 8)
- (Unit-type of (Leaving unit)) Equal to Silver Hawk (Level 9)
- (Unit-type of (Leaving unit)) Equal to Silver Hawk (Level 10)
- (Unit-type of (Leaving unit)) Equal to Silver Hawk (Level 11)
- (Unit-type of (Leaving unit)) Equal to Silver Hawk (Level 12)
- (Unit-type of (Leaving unit)) Equal to Silver Hawk (Level 13)
- (Unit-type of (Leaving unit)) Equal to Silver Hawk (Level 14)
- (Unit-type of (Leaving unit)) Equal to Silver Hawk (Level 15)
- (Unit-type of (Leaving unit)) Equal to Silver Hawk (Level 16)
- (Unit-type of (Leaving unit)) Equal to Silver Hawk (Level 17)
- (Unit-type of (Leaving unit)) Equal to Silver Hawk (Level 18)
- (Unit-type of (Leaving unit)) Equal to Silver Hawk (Level 19)
- (Unit-type of (Leaving unit)) Equal to Silver Hawk (Level 20)
-
Conditions
-
Conditions
-
And - All (Conditions) are true
-
Actions
- Unit - Move (Leaving unit) instantly to (Center of SilverHawkAreaPlayer1 <gen>)
-
Events