- Joined
- Oct 7, 2014
- Messages
- 2,209
I need help for a trigger.
I made an ability when the unit dies with be replaced by another unit but I need to check if the upgrade is finished because the ability must be research first before the ability to occur.
I made an ability when the unit dies with be replaced by another unit but I need to check if the upgrade is finished because the ability must be research first before the ability to occur.
-
Shadow Ascend
-
Events
- Unit - A unit Finishes an upgrade
- Conditions
-
Actions
- Trigger - Turn on Shadow Ascend Execute <gen>
-
Events
-
Shadow Ascend Execute
-
Events
- Unit - A unit Dies
-
Conditions
- (Unit-type of (Dying unit)) Equal to Deciever
-
Actions
- Set DyingUnit = (Dying unit)
- Set DyingUnit_Position = (Position of DyingUnit)
- Set DyingUnit_Owner = (Owner of DyingUnit)
- Unit - Create 1 Shadow for DyingUnit_Owner at DyingUnit_Position facing Default building facing degrees
- Custom script: call RemoveLocation(udg_DyingUnit_Position)
-
Events