[Solved] Neither Swap Problem

Status
Not open for further replies.
Level 7
Joined
May 23, 2011
Messages
179
Guys i have a problem.... How to up a range like
level 1 - 300 range
level 2 - 500 range
level 3 - 800 range
level 4 - 1000 range
swap between the hero and the unit..

  • Neither Swap
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Wind Walk (Neutral Hostile)
    • Actions
      • Set NS_Trigger_unit_loc = (Position of (Triggering unit))
      • Set NS_Target_unit_loc = (Position of (Target unit of ability being cast))
      • Special Effect - Create a special effect at NS_Trigger_unit_loc using Abilities\Spells\Undead\DeathPact\DeathPactTarget.mdl
      • Special Effect - Destroy (Last created special effect)
      • Special Effect - Create a special effect at NS_Target_unit_loc using Abilities\Spells\Undead\DeathPact\DeathPactTarget.mdl
      • Special Effect - Destroy (Last created special effect)
      • Unit - Move (Target unit of ability being cast) instantly to NS_Trigger_unit_loc
      • Unit - Move (Triggering unit) instantly to NS_Target_unit_loc
      • Custom script: call RemoveLocation(udg_NS_Trigger_unit_loc)
      • Custom script: call RemoveLocation(udg_NS_Target_unit_loc)
Can anyone help me.......
Thanks in advance for those who will help..
:goblin_yeah:
 
Level 18
Joined
Jan 21, 2006
Messages
2,552
First of all, you haven't really described what the problem is. The range of the ability should however be defined in the Object Editor where you've got this Wind Walk ability. The actual effect of the ability is simply switching their positions, which you seemed to have done correctly (though I don't know why you're using "Wind Walk (Neutral Hostile)").

Please give us more information than this.
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
1. Base your spell off of a spell that is "Target-unit" spell, from the trigger you showed, you used Windwalk as base ability. Windwalk is an "Instant-cast" spell which will never work for the trigger above.

2. To differ Level 1 Cast Range and Level 2 Cast Range is to adjust/edit the Object Editor's value for the "Stats - Cast Range"
 
Level 20
Joined
Jul 6, 2009
Messages
1,885
Your welcome Admiral Jack.
19736.jpg
 
Status
Not open for further replies.
Top