- Joined
- Aug 3, 2004
- Messages
- 2,906
I am using the following trigger to cause a unit to warp to a new location upon casting a spell based on channel. The problem is that it doesn't fire the ability cool down because of the instant nature of move orders.
-
Dematerialize
-
Events
-
Unit - A unit Is issued an order targeting an object
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to Undead Frigate
-
-
Actions
-
Set Dematerialize_Unit = (Target unit of issued order)
-
Set Dematerialize_Point = (Position of Dematerialize_Unit)
-
Unit - Create 1 Ghoul for Neutral Passive at Dematerialize_Point facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Create 1 Ghoul for Neutral Passive at (Position of (Triggering unit)) facing Default building facing degrees
-
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
-
Unit - Move (Triggering unit) instantly to Dematerialize_Point
-
-