• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

My "Jump of Might" Ability Help

Status
Not open for further replies.
Level 3
Joined
Aug 15, 2004
Messages
44
Jump of Might
The unit jumps up and down each time touching the ground and jumping casting war stomp
Level 1 – Jump twice - War stomp level 1
Level 2 – Jump four times – war stomp level 2
Level 3 – Jump six times – War stomp level 3

This abilities simple but I need help with a few things:
1. Making the war stomp happen (how do I make the caster cast it?)
2. Leveling up war stomp for the caster.

Please try and not talk about jass unless it can’t be avoided. Also don't say "this has already been done" or see <insert spell name here>. Thanks for the help in advance :D.
 
Level 3
Joined
Aug 15, 2004
Messages
44
RE

I tried that, Warstomp doesn't cast, heres my code and yes i'm sure its the right warstomp:

Code:
Level Up: (I think I have  this 1 correct)
    Events
        Unit - A unit Learns a skill
    Conditions
        (Learned Hero Skill) Equal to Jump Of Might 
    Actions
        Set JumpLevel = (JumpLevel + 1)
This next one is pretty long but:
Code:
Jump
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Jump Of Might 
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                JumpLevel Equal to 1
            Then - Actions
                Unit - Hide (Casting unit)
                Unit - Create 1 Paladin Flying Sub for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
                Set Sub = (Last created unit)
                Unit - Create 1 Caster for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
                Set Caster = (Last created unit)
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Unit - Remove Caster from the game
                Unit - Remove Sub from the game
                Unit - Unhide (Casting unit)
            Else - Actions
                Do nothing
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                JumpLevel Equal to 2
            Then - Actions
                Unit - Hide (Casting unit)
                Unit - Create 1 Paladin Flying Sub for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
                Set Sub = (Last created unit)
                Unit - Create 1 Caster for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
                Set Caster = (Last created unit)
                Unit - Increase Level of War Stomp for Caster
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Unit - Remove Caster from the game
                Unit - Remove Sub from the game
                Unit - Unhide (Casting unit)
            Else - Actions
                Do nothing
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                JumpLevel Equal to 3
            Then - Actions
                Unit - Hide (Casting unit)
                Unit - Create 1 Paladin Flying Sub for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
                Set Sub = (Last created unit)
                Unit - Create 1 Caster for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
                Set Caster = (Last created unit)
                Unit - Increase Level of War Stomp for Caster
                Unit - Increase Level of War Stomp for Caster
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Unit - Remove Caster from the game
                Unit - Remove Sub from the game
                Unit - Unhide (Casting unit)
            Else - Actions
                Do nothing
 
Level 3
Joined
Aug 15, 2004
Messages
44
I'll Send You The map Raven, That way you can see for yourself just reply once you fix it and send it back, don't upload it please.
Warstomp STILL Won 't Cast here's My REvised Code:
Code:
Jump
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        (Ability being cast) Equal to Jump Of Might 
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                JumpLevel Equal to 1
            Then - Actions
                Wait 1.00 seconds
                Unit - Hide (Casting unit)
                Unit - Create 1 Paladin Flying Sub for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
                Set Sub = (Last created unit)
                Unit - Create 1 Caster for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
                Set Caster = (Last created unit)
                Unit - Add a 20.00 second Generic expiration timer to Caster
                Unit - Add a 20.00 second Generic expiration timer to Sub
                Animation - Play Sub's stand victory animation
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Wait 1.00 seconds
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Wait 1.00 seconds
                Unit - Unhide (Casting unit)
            Else - Actions
                Do nothing
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                JumpLevel Equal to 2
            Then - Actions
                Wait 1.00 seconds
                Unit - Hide (Casting unit)
                Unit - Create 1 Paladin Flying Sub for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
                Set Sub = (Last created unit)
                Unit - Create 1 Caster for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
                Set Caster = (Last created unit)
                Unit - Add a 38.00 second Generic expiration timer to Caster
                Unit - Add a 38.00 second Generic expiration timer to Sub
                Unit - Increase Level of War Stomp for Caster
                Animation - Play Sub's stand victory animation
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Wait 1.00 seconds
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Wait 1.00 seconds
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Wait 1.00 seconds
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Wait 1.00 seconds
                Unit - Unhide (Casting unit)
            Else - Actions
                Do nothing
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                JumpLevel Equal to 3
            Then - Actions
                Wait 1.00 seconds
                Unit - Hide (Casting unit)
                Unit - Create 1 Paladin Flying Sub for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
                Set Sub = (Last created unit)
                Unit - Create 1 Caster for (Owner of (Casting unit)) at (Position of (Casting unit)) facing Default building facing degrees
                Set Caster = (Last created unit)
                Unit - Add a 56.00 second Generic expiration timer to Caster
                Unit - Add a 56.00 second Generic expiration timer to Sub
                Unit - Increase Level of War Stomp for Caster
                Unit - Increase Level of War Stomp for Caster
                Animation - Play Sub's stand victory animation
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Wait 1.00 seconds
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Wait 1.00 seconds
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Wait 1.00 seconds
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Wait 1.00 seconds
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Wait 1.00 seconds
                Animation - Change Sub flying height to 500.00 at 125.00
                Wait 4.00 seconds
                Animation - Change Sub flying height to 0.00 at 125.00
                Wait 4.00 seconds
                Unit - Order Caster to Orc Tauren Chieftain - War Stomp
                Wait 1.00 seconds
                Unit - Unhide (Casting unit)
            Else - Actions
                Do nothing
 
Level 7
Joined
Mar 26, 2004
Messages
350
have u made sure that the warstomp doesn't need mana or some techtree-equiv.?

Edit: and are u sure that cooldown is set to smaller than 1.00?
 
Status
Not open for further replies.
Top