- Joined
- Mar 10, 2009
- Messages
- 5,016
Leap Blow GUI...
Hello, I just want to know, is this the correct setup of jump ability?...I know there's a lot of jump ability in the spell section but I want to start from scratch...
pls tell me if I'm missing something...
NOTE: The 'Jump 2' trigger doesnt off coz I never set it up yet...
EDIT: FIXED NOW...I CALL IT LEAP BLOW...
Hello, I just want to know, is this the correct setup of jump ability?...I know there's a lot of jump ability in the spell section but I want to start from scratch...
pls tell me if I'm missing something...
NOTE: The 'Jump 2' trigger doesnt off coz I never set it up yet...
EDIT: FIXED NOW...I CALL IT LEAP BLOW...
-
Leap Blow
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Leap Blow
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Index[1] Equal to 0
-
-
Then - Actions
-
Trigger - Turn on Leap Blow Loop <gen>
-
-
Else - Actions
-
-
Set Index[1] = (Index[1] + 1)
-
Set IndexArray[Index[1]] = Index[1]
-
Set Index[2] = IndexArray[Index[1]]
-
Set Caster[Index[2]] = (Triggering unit)
-
Set CasterPt[Index[2]] = (Position of Caster[Index[2]])
-
Set TargetPt[Index[2]] = (Target point of ability being cast)
-
Unit - Add Storm Crow Form to Caster[Index[2]]
-
Set Distance[Index[2]] = (Distance between CasterPt[Index[2]] and TargetPt[Index[2]])
-
Set Distance2[Index[2]] = (Distance between CasterPt[Index[2]] and TargetPt[Index[2]])
-
Set Speed[Index[2]] = 0.00
-
Set CheckSfx[Index[2]] = True
-
Set Dam[Index[2]] = (50.00 x (Real((Level of Leap Blow for Caster[Index[2]]))))
-
Unit - Make Caster[Index[2]] Invulnerable
-
-
-
Leap Blow Loop
-
Events
-
Time - Every 0.07 seconds of game time
-
-
Conditions
-
Actions
-
Set Distance2[Index[2]] = (Distance2[Index[2]] - 30.00)
-
For each (Integer Loop) from 1 to Index[1], do (Actions)
-
Loop - Actions
-
Set Index[2] = IndexArray[Loop]
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Distance[Index[2]] Greater than 0.00
-
-
Then - Actions
-
Set Distance[Index[2]] = (Distance[Index[2]] - 30.00)
-
Set Speed[Index[2]] = (Speed[Index[2]] + 30.00)
-
Animation - Change Caster[Index[2]] flying height to Distance[Index[2]] at 500.00
-
Unit - Move Caster[Index[2]] instantly to (CasterPt[Index[2]] offset by Speed[Index[2]] towards (Angle from CasterPt[Index[2]] to TargetPt[Index[2]]) degrees), facing (Facing of Caster[Index[2]]) degrees
-
-
Else - Actions
-
Animation - Change Caster[Index[2]] flying height to 0.00 at 500.00
-
Unit - Remove Storm Crow Form from Caster[Index[2]]
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
CheckSfx[Index[2]] Equal to True
-
-
Then - Actions
-
Set SfxPt[Index[2]] = (Position of Caster[Index[2]])
-
Special Effect - Create a special effect at SfxPt[Index[2]] using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
-
Special Effect - Destroy (Last created special effect)
-
Environment - Create a 2.00 second Depression ripple deformation at SfxPt[Index[2]] with starting radius 300.00, ending radius 500.00, and depth 64.00, using 1.00 second ripples spaced 100.00 apart
-
Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units within 300.00 of SfxPt[Index[2]] matching ((((Matching unit) belongs to an enemy of (Owner of Caster[Index[2]])) Equal to True) and (((Matching unit) is A ground unit) Equal to True))) and do (Actions)
-
Loop - Actions
-
Unit - Cause Caster[Index[2]] to damage (Picked unit), dealing Dam[Index[2]] damage of attack type Spells and damage type Normal
-
-
-
Custom script: call RemoveLocation(udg_SfxPt[udg_Index[2]])
-
Unit - Make Caster[Index[2]] Vulnerable
-
Set CheckSfx[Index[2]] = False
-
-
Else - Actions
-
-
-
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Distance2[Index[2]] Less than or equal to -30.00
-
-
Then - Actions
-
Trigger - Turn off (This trigger)
-
Set Index[1] = 0
-
Custom script: call RemoveLocation(udg_CasterPt[udg_Index[2]])
-
Custom script: call RemoveLocation(udg_TargetPt[udg_Index[2]])
-
-
Else - Actions
-
-
-
Last edited: