• 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.

Make unit Spin

Status
Not open for further replies.

eid

eid

Level 2
Joined
Sep 15, 2013
Messages
11
Im trying to make fan of knives, just the the only difference is when he uses the ability, the hero spins very fast for 1 second. (like blademaster, or kung lao). I have made this trigger:

Spikre Spin
Events
Time - Every 0.00 seconds of game time
Conditions
Actions
Set TurningAngle = (Facing of Spikre_Unit)
Set TurningAngle = (TurningAngle + 50.00)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TurningAngle Greater than 360.00
Then - Actions
Set TurningAngle = (TurningAngle - 360.00)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TurningAngle Less than 0.00
Then - Actions
Set TurningAngle = (TurningAngle + 360.00)
Else - Actions
Unit - Make Spikre_Unit face TurningAngle over 0.00 seconds

but it dosent spin as fast as I want.
 
I also think that Nichilus is right. What you can do is to ensure you have turn rate on on max height : 3

If you use blademaster you could play this spin animation of ultimate.

Have a look on this, this also might look cool: http://www.hiveworkshop.com/forums/models-530/whirlwind-bladestorm-effect-48706/
_______________________________

Set TurningAngle = (Facing of Spikre_Unit)
Set TurningAngle = (TurningAngle + 50.00)

-->Set TurningAngle = (Facing of Spikre_Unit + 50.00)

This +360 operation is not needed.

And using "Every 0 seconds" is definetly not needed. It will just cause lags.
 
Status
Not open for further replies.
Top