- Joined
- Jun 30, 2010
- Messages
- 259
This tutorial will show you how to create a Jump ability. This is a spell that creates an effect which makes the unit casting the ability "fly" to the targeted point. This spell is good in RPGs and other maps, it can be used in particulary any map.
Requirements:
-Warcraft III World Editor
-Basic and some advanced triggering skills
-Knowledge about the Object Editor
First, create an ability named "Jump" with the same properties as shown:

For the jumping unit, I will use a Paladin, you may use any unit you want, but make sure you add the jump ability to the unit:

Now you have created an ability, but at this state, it does nothing, so let's start by making all the variables we need:

Now, let's make the triggers needed for the ability to do anything, first, we need to make a trigger which activates when our unit uses the jump ability
View attachment Jump Tutorial.w3x
Thats it! Hope you enjoy my tutorial!
Requirements:
-Warcraft III World Editor
-Basic and some advanced triggering skills
-Knowledge about the Object Editor
First, create an ability named "Jump" with the same properties as shown:

For the jumping unit, I will use a Paladin, you may use any unit you want, but make sure you add the jump ability to the unit:

Now you have created an ability, but at this state, it does nothing, so let's start by making all the variables we need:

Now, let's make the triggers needed for the ability to do anything, first, we need to make a trigger which activates when our unit uses the jump ability
-
Jump
-
Events
-
Unit - Paladin 0000 <gen> starts the effect of an ability
-
Conditions
-
(Ability being cast) Equal to Jump
-
(Triggering unit) Equal to Paladin 0000 <gen>
-
-
Actions
-
Set JumpPoint1 = (Position of Paladin 0000 <gen>)
-
Set JumpPoint2 = (Target point of ability being cast)
-
Set JumpDirection = (Angle from JumpPoint1 to JumpPoint2)
-
Set JumpSpeed = ((Distance between JumpPoint1 to JumpPoint2) / 200.00)
-
Set JumpDown = (Distance between JumpPoint1 to JumpPoint2)
-
Unit - Add Storm Crow Form to Paladin 0000 <gen>
-
Unit - Remove Storm Crow Form to Paladin 0000 <gen>
-
Animation - Change Paladin 0000 <gen> flying height to ((Distance between JumpPoint1 and JumpPoint2) / 3.00) at ((Distance between JumpPoint1 and JumpPoint2) / 3.00)
-
Trigger - Turn on Jump Move <gen>
-
Unit - Turn collision for Paladin 0000 <gen> off
-
Unit - Make Paladin 0000 <gen> Invulnerable
-
Countdown Timer - Start JumpTimer[1] as a One-shot timer that will expire in 2.00 seconds
-
Countdown Timer - Start JumpTimer[2] as a One-shot timer that will expire in 1.00 seconds
-
Custom script: call RemoveLocation ( udg_JumpPoint1 )
-
Custom script: call RemoveLocation ( udg_JumpPoint2 )
-
-
-
Jump Move
-
Events
-
Time - Every 0.01 seconds of game time
-
-
Conditions
-
Actions
-
Set JumpPoint1 = Position of Paladin 0000 <gen>
-
Set JumpPoint2 = (JumpPoint1 offset by JumpSpeed towards JumpDirection degrees)
-
Unit - Move Paladin 0000 <gen> instantly to JumpPoint2
-
Custom script: call RemoveLocation ( udg_JumpPoint1 )
-
Custom script: call RemoveLocation ( udg_JumpPoint2 )
-
-
-
Jump Stop
-
Events
-
Time - JumpTimer[1] expires
-
-
Conditions
-
Actions
-
Special Effect - Create a special effect at (position of Paladin 0000 <gen> using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
-
Set JumpEffect[1] = (Last created special effect)
-
Unit - Cause Paladin 0000 <gen> to damage circular area after 0.00 seconds of radius 150.00 at (position of Paladin 0000 <gen>), dealing 50 damage of attack type Chaos and damage type Normal
-
Trigger - Turn off Jump Move
-
Unit - Turn collision for Paladin 0000 <gen> On
-
Unit - Make Paladin 0000 <gen> Vulnerable
-
Wait 0.25 seconds
-
Special Effect - Destroy JumpEffect[1]
-
-
-
Jump Down
-
Events
-
Time - JumpTimer[2] expires
-
-
Conditions
-
Actions
-
Animation - Change Paladin 0000 <gen> flying height to 0.00 at (JumpDown / 3.00)
-
-
View attachment Jump Tutorial.w3x
Thats it! Hope you enjoy my tutorial!
Last edited: