Hi! Is there any triggers available here that works like the bunker in Starcraft? I couldn't create a trigger myself as it keeps on failing on me. Here are my triggers btw.
And...
-
Rocketeer
-
Events
- Unit - A unit Is loaded into a transport
-
Conditions
- (Unit-type of (Loading unit)) Equal to Rocketeer
-
Actions
- Set RocketeerUI_ID = (RocketeerUI_ID + 1)
- Set RocketeerID[RocketeerUI_ID] = (Custom value of (Loading unit))
- Set RocketeerTemp[RocketeerID[RocketeerUI_ID]] = (Loading unit)
- Set UnitIndexerEnabled = False
- Unit - Create 1 Dummy for (Triggering player) at (Position of (Transporting unit)) facing 0.00 degrees
- Set RocketeerTempDummy[RocketeerID[RocketeerUI_ID]] = (Last created unit)
- Unit - Add Bunker (Rocket) to RocketeerTempDummy[RocketeerID[RocketeerUI_ID]]
- Unit - Add Rocket to RocketeerTempDummy[RocketeerID[RocketeerUI_ID]]
-
Events
And...
-
RocketeerCheck
-
Events
- Time - Every 1.00 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units of type Bunker) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (RocketeerTemp[RocketeerID[RocketeerUI_ID]] is loaded into (Picked unit)) Equal to False
-
Then - Actions
- Unit - Remove RocketeerTempDummy[RocketeerID[RocketeerUI_ID]] from the game
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units of type Bunker) and do (Actions)
-
Events