How do i make a jump work 5 levels i have the 5 dummies and the 5 war stomp jumps i just dont know how to do the trigger. (Qwerty shutup because I've already tried importing the jump spells. and either the jass doesnt work or its screwed up.) (tried 5 times )
You only need to have 1 war stomp to the dummy unit. Crete the warstomp with 5 lvls and on the trigger you put.
If: If level of ABILITY for casting unit equal to 1 Then: Set the level of war stomp for dummy unit to 1 Order Dummy Unit to cast war stomp Else: Do Nothing.
You only need to different this action for each level. If the level of Ability for the hero equal to 2, set the level of the war stomp for casting unit to 2...
You only need to have 1 war stomp to the dummy unit. Crete the warstomp with 5 lvls and on the trigger you put.
If: If level of ABILITY for casting unit equal to 1 Then: Set the level of war stomp for dummy unit to 1 Order Dummy Unit to cast war stomp Else: Do Nothing.
You only need to different this action for each level. If the level of Ability for the hero equal to 2, set the level of the war stomp for casting unit to 2...
Really, i think your trying to acheive somthing over your head, since you seem to be confused on spell basics. Maby try creating an easier spell first on your own, before going out to the forums and baby wining about how your soon to be complicated spell doesnt work.
To use flying height you only need to add the crow form ability to the unit, and then, you can remove the ability for the unit. One time you give this ability to an unit, it will always be able to use flying height.
yo i dont think your answering his question guys. He might only want the unit to jump verticly, but i think he wants it to jump to a target area like in Tides of Blood. P.S. i have no clue how to do that.
Event: A unit starts the effect of an ability Conditions: Ability being cast equal to JUMP Actions: Set JUMPCASTER = Casting Unit Set JUMPTARGETPOINT = Target point of ability being cast. Turn On Jump Moving trigger. Wait until [number of units in units in range X of JUMPTARGETPOINT matching [matching unit equal to JUMPCASTER] equal to 1. Turn Off Jump Moving trigger. Create 1 dummy unit at position of JUMPCASTER for owner of JUMPCASTER. Add 2 second expiration timer to last created unit. If level of JUMP to JUMPCASTER equal to 1 then do Set the level of War Stomp to last created unit to 1. ( this action you need to put for each level of the spell, if the caster has the jump level 2, set the level of war stomp for last created unit to 2... Order last created unit to Orc - Tauren Chieftain - War Stomp.
This is the first trigger, now you need to create an initiality off trigger. At the trigger above, the Turn on and Turn off triggers are refering to this trigger:
Jump Moving Trigger
Event: Every 0.05 seconds of game time. No Condition Action: Unit - Move instantly JUMPCASTER to [position of JUMPCASTER offset by "X" towards angle from position of JUMPCASTER to position of JUMPTARGETPOINT] facing [ angle from position of JUMPCASTER to position of JUMPTARGETPOINT] degrees.
the "X" field at the JUMP MOVING TRIGGER you can put any number, it will refer to the number of feets that the caster will move every 0.05 seconds in direction to the target point of the ability.