Warcraft III resources & community, 2003–2006 · archived

My "Jump of Might" Ability Help

11 posts
#1

My "Jump of Might" Ability Help

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.
#2
1) Unit - Order (unit) to Orc Tauren Chieftain - War Stomp
2) Unit - Increase Level of War Stomp for (unit)

~The_Raven
#3

RE

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

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:
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
#4
The_Raven told me before, but I think those references to (X unit) can be depleted in some cases with a wait action, thus creating nothing
#5
Warstomp takes time to cast. Use expiration timers instead of removing the unit.

~The_Raven
#6
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:
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
#7
Ok... Your problem with the Warstomp is that you cannot remove the unit immediately after you've ordered it to cast the spell because nothing will happen. GIve it a 0.15 seconds wait or something and you will see the result.
#8

ummm

umm daelin you didn't read his last post did you?
#9
I looked at your map a while ago but forgot to respond. I think that your problem is mostly in your dummy caster and dummy spells. Make sur that they can be cast when necessary.

~The_Raven
#10
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?
#11
I think I made an ability called 'Jump of Fury' in the spell section (recently). The caster jump from point A to point B, upon landing he stomps all nearby targets.

You may want to download and look at that spell, may it help.