This is my Watch Tower trigger
-
Watch Tower Alert Copy
-
Events
- Time - Every 1.00 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units in (Playable map area)) 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 Watch Post
- (Owner of (Picked unit)) Equal to Player 1 (Red)
-
Then - Actions
- Set TempTowerPoint = (Position of (Picked unit))
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) belongs to an ally of Player 1 (Red)) Equal to False
- ((Picked unit) is in WatchedUnitsRed) Equal to False
-
Then - Actions
- Set TempPingPosition = (Position of (Picked unit))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Distance between TempTowerPoint and TempPingPosition) Less than or equal to 1800.00
-
Then - Actions
- Unit Group - Add (Picked unit) to WatchedUnitsRed
- Cinematic - Ping minimap for (All allies of Player 1 (Red)) at TempPingPosition for 1.00 seconds
- Custom script: call RemoveLocation(udg_TempPingPosition)
- Custom script: call RemoveLocation(udg_TempTowerPoint)
- Else - Actions
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Events
Last edited: