Can someone please tell me how to make a spell. The spell will be an aura of 400 range, in which everytime an enemy unit comes into the aura, they are hexed. Every 10 seconds, all enemy units in the aura will be hexed for 2 seconds. Thx
Event-
unit learns skill
Condition
skill learned = to Voodo Aura
Actions-
Set Triggering unit = CASTER
Trigger- Turn on Hex (Second trigger)
**SECOND TRIGGER**
HEX
Event-
every 10 sec.
Condition-
------
Actions-
Trigger- Turn On The Morph
**THIRD TIGGER**
THE MORPH
Event-
every .01 sec
Actions-
Create one HEX DUMMY for owner of CASTER
order lastcreated unit to shadow hunter hex random unit within 400 of CASTER matching matching unit equal to enemy of CASTER equal to true and maatching unit not equal to building and matching unit is not dead.
Remove last created unit from game.
these are rough triggers but i think you will get the idea.
hmm all the enemy units around my hero have the hex buff but none of them are actually hexed. what did I do wrong?
This is exactly what I have:
Folder Constant: Trigger Start: Events: Unit - Paladin 0001 <gen> Learns a skill Conditions: (Learned Hero Skill) Equal To Voodoo Aura Actions: Selection - Select (Triggering unit) for CASTER Trigger - Turn on HEX <gen>
Trigger HEX: Events: Time - Every 10 seconds of game time Actions: Trigger - Turn on THE CHANGE <gen>
Trigger THE CHANGE: Events: Time - Every .01 seconds of game time Actions: Unit - Create 1 HEX DUMMY for CASTER at (Position of (Triggering unit)) facing (Position of (Triggering unit)) Unit - Order (Last created unit) to Right-Click Paladin 0001 <gen> Unit - Order (Last created unit) to Orc Shadow Hunter - Hex (Random unit from (Units within 400 of (Position of Paladin 0001 <gen>) matching ((((Triggering unit) belongs to an enemy of CASTER) Equal to True) and ((((Triggering unit) is dead) Equal to False) and (((Triggering unit) is A structure) Equal to False))) Unit - Remove (Last created unit) from the game