Hey! I've got a problem here. I'm creating a map, where a unit enters a structure, it will create a dummy at the position of the structure, which will fire off a modified phoenix fire attack.
So, how do I remove the dummy if a player chooses to unload the unit out of the structure? I would prefer GUI though.
This is my trigger when the unit enters:
EDIT: I'm not sure if I could use "Last Created Unit" as there might be other players who create other dummies with other abilities. I think it might cause other triggers to malfunction.
So, how do I remove the dummy if a player chooses to unload the unit out of the structure? I would prefer GUI though.
This is my trigger when the unit enters:
-
Auto firing
-
Events
-
Unit - A unit Is loaded into a transport
-
-
Conditions
-
((Loading unit) is A ground unit) Equal to True
-
(Unit-type of (Loading unit)) Equal to Rocketeer
-
-
Actions
-
Unit - Create 1 Dummy 1 for (Triggering player) at (Position of (Transporting unit)) facing 0.00 degrees
-
Unit - Add Bunker (Rocket) to (Last created unit)
-
Unit - Add Rocket to (Last created unit)
-
-
EDIT: I'm not sure if I could use "Last Created Unit" as there might be other players who create other dummies with other abilities. I think it might cause other triggers to malfunction.