1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  4. Dismiss Notice
  5. The Highway to Hell has been laid open. Come along and participate in the 5th Special Effect Contest.
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

My "Jump of Might" Ability Help

Discussion in 'Triggers & Scripts' started by d0g_l0ver, Oct 18, 2004.

  1. d0g_l0ver

    d0g_l0ver

    Joined:
    Aug 15, 2004
    Messages:
    44
    Resources:
    0
    Resources:
    0
    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. The_Raven

    The_Raven

    Joined:
    Jun 10, 2004
    Messages:
    602
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    1) Unit - Order (unit) to Orc Tauren Chieftain - War Stomp
    2) Unit - Increase Level of War Stomp for (unit)

    ~The_Raven
     
  3. d0g_l0ver

    d0g_l0ver

    Joined:
    Aug 15, 2004
    Messages:
    44
    Resources:
    0
    Resources:
    0
    RE

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

    Code (Text):
    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 (Text):
    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. Eusira

    Eusira

    Joined:
    Sep 3, 2004
    Messages:
    2,101
    Resources:
    4
    Models:
    3
    Skins:
    1
    Resources:
    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. The_Raven

    The_Raven

    Joined:
    Jun 10, 2004
    Messages:
    602
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    Warstomp takes time to cast. Use expiration timers instead of removing the unit.

    ~The_Raven
     
  6. d0g_l0ver

    d0g_l0ver

    Joined:
    Aug 15, 2004
    Messages:
    44
    Resources:
    0
    Resources:
    0
    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 (Text):
    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. Daelin

    Daelin

    Joined:
    Jul 20, 2004
    Messages:
    3,111
    Resources:
    41
    Models:
    22
    Icons:
    3
    Tutorials:
    16
    Resources:
    41
    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. Lady_Shadow

    Lady_Shadow

    Joined:
    Apr 9, 2004
    Messages:
    74
    Resources:
    0
    Resources:
    0
    ummm

    umm daelin you didn't read his last post did you?
     
  9. The_Raven

    The_Raven

    Joined:
    Jun 10, 2004
    Messages:
    602
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    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. RaZoR

    RaZoR

    Joined:
    Mar 26, 2004
    Messages:
    350
    Resources:
    0
    Resources:
    0
    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. ArcanisteR

    ArcanisteR

    Joined:
    Aug 4, 2004
    Messages:
    60
    Resources:
    2
    Icons:
    1
    Skins:
    1
    Resources:
    2
    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.