Cast Teleport(GUI) Request

Status
Not open for further replies.
Level 9
Joined
May 9, 2009
Messages
536
just do this

Event
If a Target Starts the Effect of an ability
Condition
Ability being cast equal to <Your Ability>
Actions
Move Casting unit to position of Target of Ability being cast
<These below lines are for special effects>
Create special effect <Your Special Effect> at position of Target of ability being cast
Destroy Last Created special effect
 
Level 12
Joined
Jul 27, 2008
Messages
1,181
To avoid leaks create a point variable and replace:
  • Actions
    • Move Casting unit to position of Target of Ability being cast
with:
  • Actions
    • Set VARIABLE = Position of (Target of Ability being cast)
    • Move Casting unit to VARIABLE
    • Custom script: call RemoveLocation(udg_VARIABLE)
 
Status
Not open for further replies.
Top