why doesn't this work?

helpmeplease

New Member
Reaction score
7
Trigger:
  • event
    • unit - A unit begins casting an ability
    • conditions
      • (ability being cast) equal to Heart Strike
    • actions
      • set UP_heartstrike = (postion of (targeted unit))
      • unit - move (triggereing unit) instantly to UP_heartstrike
      • wait 2.00 seconds
      • custom sript: call RemoveLocation(udg_UP_heartstrike)


im trying to make the spell like a blink strike with a little stun and extra damage. the damage and stun are with the ability but he just doesnt move.. suggestions?
 

Accname

2D-Graphics enthusiast
Reaction score
1,464
Trigger:
  • events
    • unit - A unit starts the effect of an ability
    • conditions
      • (ability being cast) equal to Heart Strike
    • actions
      • set UP_heartstrike = (postion of (target unit of ability being cast))
      • unit - move (triggereing unit) instantly to UP_heartstrike
      • custom sript: call RemoveLocation(udg_UP_heartstrike)


thats how its supposed to look like.
 

helpmeplease

New Member
Reaction score
7
Trigger:
  • events
    • unit - A unit starts the effect of an ability
    • conditions
      • (ability being cast) equal to Heart Strike
    • actions
      • set UP_heartstrike = (postion of (target unit of ability being cast))
      • unit - move (triggereing unit) instantly to UP_heartstrike
      • custom sript: call RemoveLocation(udg_UP_heartstrike)


thats how its supposed to look like.

i just didn't want it to remove the location b4 he got there. and i have a .5 second wait before moving him now because it interfeared with the spell.
 

Carnerox

The one and only.
Reaction score
84
Lol, if you placed the removelocation before moving the unit, then it wouldn't move the caster, but snce you placed it after there would no be problems at all the caster will still move to the target.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top