- Joined
- Feb 12, 2005
- Messages
- 200
Well, I'm trying to create a spell that will do this :
A strange, yet effective spell. Whenever the Magician casts this spell near enemy units, they will become hexed and unable to attack for a period of time.
I tryed to create this spell, but it didn't worked, I don't get it.
Here are the triggers :
Voodoo Curse
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Voodoo Curse
Actions
Unit - Create 1 Caster02 for (Owner of (Casting unit)) at (Position of (Casting unit)) facing (Facing of (Casting unit)) degrees
Unit - Add Hex (Ultimate) to (Last created unit)
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit Group - Pick every unit in (Units within 500.00 of (Position of (Casting unit)) matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True)) and do (Actions)
Loop - Actions
Unit - Order (Last created unit) to Orc Shadow Hunter - Hex (Picked unit)
If I use this, only one unit is hexed.
Can someone give me the answer?
Thanks.
A strange, yet effective spell. Whenever the Magician casts this spell near enemy units, they will become hexed and unable to attack for a period of time.
I tryed to create this spell, but it didn't worked, I don't get it.
Here are the triggers :
Voodoo Curse
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Voodoo Curse
Actions
Unit - Create 1 Caster02 for (Owner of (Casting unit)) at (Position of (Casting unit)) facing (Facing of (Casting unit)) degrees
Unit - Add Hex (Ultimate) to (Last created unit)
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Unit Group - Pick every unit in (Units within 500.00 of (Position of (Casting unit)) matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True)) and do (Actions)
Loop - Actions
Unit - Order (Last created unit) to Orc Shadow Hunter - Hex (Picked unit)
If I use this, only one unit is hexed.
Can someone give me the answer?
Thanks.