- Joined
- Jul 20, 2004
- Messages
- 156
I have a fan of knives spell. I want it to ensnare a random 1-15 units near the caster. I have a dummy unit with the ensnare spell and everything else thats needed, but my trigger just doesn't seem to be working. Here it is:
Assassin's Favorite Shot
Events:
Unit - A unit Starts the effect of an ability
Conditions:
(Ability being cast) Equal to Assassin's Favorite Shot
Actions:
Unit - Create one Assassin's Favorite Shot Dummy for (Owner of (Casting unit)) at (Target point of ability being cast) facing Default building degrees
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Orc Raider - Ensnare (Random unit from (Random (Random integer number between 1 and 15) units from (Units within 1000.00 of (Position of (Targeted unit)))))
Can anyone correct this? Thanks.
Assassin's Favorite Shot
Events:
Unit - A unit Starts the effect of an ability
Conditions:
(Ability being cast) Equal to Assassin's Favorite Shot
Actions:
Unit - Create one Assassin's Favorite Shot Dummy for (Owner of (Casting unit)) at (Target point of ability being cast) facing Default building degrees
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Orc Raider - Ensnare (Random unit from (Random (Random integer number between 1 and 15) units from (Units within 1000.00 of (Position of (Targeted unit)))))
Can anyone correct this? Thanks.