Ok so i have 2 triggers
-
Bunker Marine Load
-
Events
- Unit - A unit Is loaded into a transport
-
Conditions
- (Unit-type of (Transporting unit)) Equal to Bunker
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of (Triggering unit)) Equal to Marine
-
Then - Actions
- Set temp_point = (Position of (Transporting unit))
- Unit - Create 1 Marine <bunker> for (Triggering player) at temp_point facing Default building facing degrees
- Custom script: call RemoveLocation(udg_temp_point)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
Bunker Death
-
Events
- Unit - A unit Dies
-
Conditions
- (Unit-type of (Dying unit)) Equal to Bunker
-
Actions
- Set temp_point = (Position of (Dying unit))
-
Unit Group - Pick every unit in (Units within 100.00 of temp_point matching ((Unit-type of (Matching unit)) Equal to Marine <bunker>)) and do (Actions)
-
Loop - Actions
- Unit - Remove (Picked unit) from the game
-
Loop - Actions
- Custom script: call RemoveLocation(udg_temp_point)
-
Events