I am now having a couple problems. One of my units has a Jump ability and a trap ability which seem to effect each other.
Here is the jump code.
Here is the jump code.
-
Jump Activate
-

Events
-


Unit - A unit Begins channeling an ability
-
-

Conditions
-


(Ability being cast) Equal to Jump
-


(Ability being cast) Not equal to Trap
-
-

Actions
-


Set Jumpto[(Player number of (Triggering player))] = (Target point of ability being cast)
-


Set Jumper[(Player number of (Triggering player))] = (Casting unit)
-


Trigger - Run Jump <gen> (ignoring conditions)
-
-
-
Jump
-

Events
-

Conditions
-

Actions
-


Unit - Pause Jumper[(Player number of (Triggering player))]
-


Unit - Make Jumper[(Player number of (Triggering player))] face Jumpto[(Player number of (Triggering player))] over 0.01 seconds
-


Wait 0.01 seconds
-


Unit - Add Crow Form to Jumper[(Player number of (Triggering player))]
-


Unit - Turn collision for Jumper[(Player number of (Triggering player))] Off
-


Unit - Make Jumper[(Player number of (Triggering player))] Invulnerable
-


Animation - Change Jumper[(Player number of (Triggering player))] flying height to 300.00 at 900.00
-


Trigger - Turn on Jump Movement <gen>
-


Wait 0.20 seconds
-


Trigger - Turn off Jump Movement <gen>
-


Unit - Make Jumper[(Player number of (Triggering player))] face Jumpto[(Player number of (Triggering player))] over 0.01 seconds
-


Animation - Change Jumper[(Player number of (Triggering player))] flying height to 0.00 at 1500.00
-


Trigger - Turn on Jump Movement <gen>
-


Wait 0.10 seconds
-


Trigger - Turn off Jump Movement <gen>
-


Animation - Change Jumper[(Player number of (Triggering player))]'s animation speed to 100.00% of its original speed
-


Unit - Remove Crow Form from Jumper[(Player number of (Triggering player))]
-


Unit - Turn collision for Jumper[(Player number of (Triggering player))] On
-


Unit - Make Jumper[(Player number of (Triggering player))] Vulnerable
-


Unit - Unpause Jumper[(Player number of (Triggering player))]
-


Set Jumper[(Player number of (Triggering player))] = No unit
-
-
-
Jump Movement
-

Events
-


Time - Every 0.01 seconds of game time
-
-

Conditions
-

Actions
-


Unit - Move Jumper[(Player number of (Triggering player))] instantly to ((Position of Jumper[(Player number of (Triggering player))]) offset by 3.00 towards (Facing of Jumper[(Player number of (Triggering player))]) degrees), facing 0.00 degrees
-


Unit - Make Jumper[(Player number of (Triggering player))] face Jumpto[(Player number of (Triggering player))] over 0.01 seconds
-
-
-
Trap
-

Events
-


Unit - A unit Begins channeling an ability
-
-

Conditions
-


(Ability being cast) Equal to Trap
-


(Ability being cast) Not equal to Jump
-
-

Actions
-


Set Trap[(Player number of (Triggering player))] = (Target point of ability being cast)
-


Environment - Create a 0.10 second Permanent crater deformation at Trap[(Player number of (Triggering player))] with radius 200.00 and depth 350.00
-


Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 180.00 at Trap[(Player number of (Triggering player))], dealing 100.00 damage of attack type Spells and damage type Normal
-


Wait 5.00 seconds
-


Environment - Create a 5.00 second Permanent crater deformation at Trap[(Player number of (Triggering player))] with radius 200.00 and depth -350.00
-
-
Last edited:




