- Joined
- Mar 20, 2008
- Messages
- 485
Ok so im making a spell that makes the hero jump around.. when he lands he stomps the ground.. but when he's in the air.. he's attacking units on the ground.. any way to disable his attack for a period of time..?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Events:

Unit is issued 'no target' order
Conditions:

isJumping[Player number of owner of triggering unit] equals to true
Actions:

Unit - order unit to stop
Events: A unit starts the effect of an ability
Conditions: Ability is being cast equal to Jumping Ability
Actions: set Jumping_Units[1] = triggering unit

set Jumping_Point = Targeted point of ability is being cast

Unit - Create 1 dummy for Owner of Jumping_Units[1] at Jumping Point

Set Jumping_Units[2] = last created unit

Unit - Add silence(with prevents attacks melee and ranged) to Jumping_Units[2]

Unit - Set level of silence to level of Jumping Ability

Unit - Issue order Jumping_Units[2] to Silence Jumping Point

Custom Script(call RemoveLocation(udg_Jumping_Point)
