• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

(Solved)Flying height problem

Status
Not open for further replies.

Edy

Edy

Level 9
Joined
Nov 21, 2015
Messages
226
I need a flying height spell which goes to 200 FH at 800 rate then drops to 0 at 800 rate (0,5sec total).
I tried to do this via wait 0.25 sec then droping the unit down(add remove storm crow form) but it buggs out.

Note, I have a region that instantly kills and move a unit. After that unit dies it's f.height should be 0, but it goes up to some 200ish idk what'scausing this, i know doing it with wait trigger is buggy and leaky so help pls. +rep ofc
 

Edy

Edy

Level 9
Joined
Nov 21, 2015
Messages
226
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Slide
Actions
Set CenterPoint = (Position of (Triggering unit))
Set TargetPoint = (CenterPoint offset by 10.00 towards (Facing of (Triggering unit)) degrees)
Set Knockback2DAngle = (Angle from CenterPoint to TargetPoint)
Custom script: call RemoveLocation(udg_CenterPoint)
Custom script: call RemoveLocation(udg_TargetPoint)
Set Knockback2DTime = 0.50
Set Knockback2DDistance = 400.00
Set Knockback2DUnit = (Triggering unit)
Trigger - Run Knockback 2D <gen> (checking conditions)
-------- --------
Set JumpingUnitPerPlayer[(Player number of (Owner of (Triggering unit)))] = (Triggering unit)
-------- --------
Unit - Add Storm Crow Form to JumpingUnitPerPlayer[(Player number of (Owner of (Triggering unit)))]
Animation - Change JumpingUnitPerPlayer[(Player number of (Owner of (Triggering unit)))] flying height to 200.00 at 800.00
Wait 0.25 seconds
Animation - Change JumpingUnitPerPlayer[(Player number of (Owner of (Triggering unit)))] flying height to 0.00 at 800.00
Wait 0.25 seconds
Unit - Remove Storm Crow Form from JumpingUnitPerPlayer[(Player number of (Owner of (Triggering unit)))]


IDK, myb if there's some way to take just 6 heroes that's all I need, if it dies it just stays the same animation height
 
Status
Not open for further replies.
Top