- Joined
- Dec 5, 2009
- Messages
- 846
Hello everyone! I need some help with one trigger 
This one:
When im testing it ingame the blademaster jump and then hits the ground correctly but he doesnt jump the way i want. Only in the middle of the map
so what's the problem? Thanks for all the help!
This one:
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Jump slashy
-
-
Actions
-
Set Hero[1] = (Casting unit)
-
Special Effect - Create a special effect attached to the weapon of Hero[1] using Abilities\Weapons\PhoenixMissile\Phoenix_Missile.mdl
-
Set Specialeffect[3] = (Last created special effect)
-
Unit - Pause Hero[1]
-
Animation - Play Hero[1]'s Attack slam animation
-
Unit - Turn collision for Hero[1] Off
-
Set Point[1] = (Position of Hero[1])
-
Set Point[2] = (Target point of ability being cast)
-
Set Real[1] = (Distance between Point[1] and Point[2])
-
Set Real[2] = Real[1]
-
Unit - Add Crow Form to Hero[1]
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Real[1] Less than or equal to 100.00
-
-
Then - Actions
-
Else - Actions
-
Animation - Change Hero[1] flying height to 400.00 at (Real[2] / 2.00)
-
Unit - Remove Crow Form from Hero[1]
-
-
-
Animation - Change Hero[1]'s animation speed to (1200.00 / (Real[2] / 40.00))% of its original speed
-
Custom script: call RemoveLocation(udg_Point[1])
-
Trigger - Turn on jump slash loop <gen>
-
-
Events
-
Time - Every 0.02 seconds of game time
-
-
Conditions
-
Actions
-
Set Point[1] = (Position of Hero[1])
-
Set Point[3] = (Point[1] offset by 10.00 towards (Angle from Point[1] to Point[2]) degrees)
-
Unit - Move Hero[1] instantly to Point[3]
-
Set Real[1] = (Real[1] - 10.00)
-
Custom script: call RemoveLocation(udg_Point[1])
-
Custom script: call RemoveLocation(udg_Point[3])
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Real[1] Less than or equal to 50.00
-
-
Then - Actions
-
Trigger - Turn off jump slash loop <gen>
-
Special Effect - Create a special effect at Point[2] using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
-
Custom script: call RemoveLocation(udg_Point[2])
-
Set Real[1] = 0.00
-
Set Real[2] = 0.00
-
Unit - Turn collision for Hero[1] On
-
Special Effect - Destroy Specialeffect[1]
-
Unit - Unpause Hero[1]
-
Animation - Change Hero[1]'s animation speed to 100.00% of its original speed
-
Animation - Reset Hero[1]'s animation
-
Set Hero[1] = No unit
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
-
-
If - Conditions
-
Real[1] Less than or equal to (Real[2] / 2.00)
-
-
Then - Actions
-
Unit - Add Crow Form to Hero[1]
-
Animation - Change Hero[1] flying height to 0.00 at (Real[2] / 2.10)
-
Unit - Remove Crow Form from Hero[1]
-
-
Else - Actions
-
When im testing it ingame the blademaster jump and then hits the ground correctly but he doesnt jump the way i want. Only in the middle of the map