i've already made most of the trigger myself, it's in GUI, but i cant figure out how to get the unit to jump TOWARDS the targer point, it just jumps up and down then slams.
can someone help with this problem?
Trigger:
- Jump
- Events
- Time - Every 0.01 seconds of game time
- Conditions
- Actions
- Set JumpS_Time = (JumpS_Time + 1)
- Animation - Change JumpS_Caster flying height to JumpS_Height at 10000.00
- Set JumpS_TempPoint1 = (Position of JumpS_Caster)
- Set JumpS_TempPoint2 = (JumpS_TempPoint1 offset by JumpS_DistanceBetweenPoints towards (Facing of JumpS_Caster) degrees)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- JumpS_Time Less than 20
- Then - Actions
- Set JumpS_Height = (JumpS_Height + 15.00)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- JumpS_Time Less than 40
- Then - Actions
- Set JumpS_Height = (JumpS_Height + 5.00)
- Else - Actions
- If - Conditions
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- JumpS_Time Greater than or equal to 40
- Then - Actions
- Set JumpS_Height = (JumpS_Height - 5.00)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- JumpS_Time Greater than or equal to 60
- Then - Actions
- Set JumpS_Height = (JumpS_Height - 10.00)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- JumpS_Time Greater than or equal to 80
- Then - Actions
- Trigger - Turn off Jump <gen>
- Unit - Turn collision for JumpS_Caster On
- Set JumpS_EffectPoint = (Position of JumpS_Caster)
- Special Effect - Create a special effect at JumpS_EffectPoint using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
- Special Effect - Create a special effect at (Position of JumpS_Caster) using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
- Custom script: call RemoveLocation( udg_JumpS_EffectPoint)
- Else - Actions
- If - Conditions
- Else - Actions
- If - Conditions
- Else - Actions
- Custom script: call RemoveLocation( udg_JumpS_TempPoint2)
- Custom script: call RemoveLocation( udg_JumpS_TempPoint1)
- Custom script: call RemoveLocation( udg_JumpS_CasterPoint)
- Custom script: call RemoveLocation( udg_JumpS_CastingPoint)
- If - Conditions
- Events
can someone help with this problem?