Move trigger on building

Status
Not open for further replies.
Level 27
Joined
Dec 3, 2018
Messages
895
  • Rune Call Function
    • Events
      • Unit - A unit Finishes casting an ability
    • Conditions
      • (Ability being cast) Equal to Rune Call
    • Actions
      • Unit - Move (Target unit of ability being cast) instantly to (Position of (Triggering unit))
The targeted unit is a building and this trigger doesn't work. What can i do pls help
 

Uncle

Warcraft Moderator
Level 71
Joined
Aug 10, 2018
Messages
7,609
This Event is generally never good to use in any situation:
  • Unit - A unit Finishes casting an ability
95% of the time you want to use this Event since it fires at the precise moment of execution:
  • Unit - A unit Starts the effect of an ability
Also, moving buildings can be weird. Try using SetUnitX() and SetUnitY() if the trigger still doesn't work after fixing the Event:
  • Custom script: call SetUnitX(udg_Target, udg_X)
  • Custom script: call SetUnitY(udg_Target, udg_Y)
 
Last edited:
Status
Not open for further replies.
Top