WuHT
New Member
- Reaction score
- 6
After reading a hearty thread by Tom Jones.. i decided to check if this trigger is MUI
Rhinoksaur = unit
G Impaler = Impale custom ability
The whole point is to have a "lurker" like attack.
The wait part i forgot why i needed in the first place..maybe cosmetic but does impale's "air" time (which i set to a miniscule amount) mess up targetting ?
If i did need a wait...would it be better if "G Impaler" was a spell based on channel with a wait time.... and then when "G impaler" is cast i have another trigger that adds ANOTHER dummy to cast impale? <--dummy for a dummy might cause more problems ?
There was also a fat thread on assigning up to (500?) units a special value, and recalling those values to do stuff. Problem is, i'm using a lot of dummys, summons, regular spawns and implementing this "might" seem like a lot of work.
Code:
G Rhinok Attack
Events
Unit - A unit Is attacked
Conditions
((Attacked unit) is A structure) Equal to False
(Unit-type of (Attacking unit)) Equal to Rhinokosaur G
Actions
Wait 0.25 seconds
Set Rhinokattack = (Position of (Attacking unit))
Unit - Create 1 Dummy for (Owner of (Attacking unit)) at Rhinokattack facing Default building facing degrees
Unit - Add G Impaler to (Last created unit)
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Undead Crypt Lord - Impale (Attacked unit)
Rhinoksaur = unit
G Impaler = Impale custom ability
The whole point is to have a "lurker" like attack.
The wait part i forgot why i needed in the first place..maybe cosmetic but does impale's "air" time (which i set to a miniscule amount) mess up targetting ?
If i did need a wait...would it be better if "G Impaler" was a spell based on channel with a wait time.... and then when "G impaler" is cast i have another trigger that adds ANOTHER dummy to cast impale? <--dummy for a dummy might cause more problems ?
There was also a fat thread on assigning up to (500?) units a special value, and recalling those values to do stuff. Problem is, i'm using a lot of dummys, summons, regular spawns and implementing this "might" seem like a lot of work.