• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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.
 
Level 25
Joined
Sep 26, 2009
Messages
2,394
Afaik there's no way to quickly turn the unit. It always takes a little bit of time.

The only way seems to be creating new units facing different angle and removing them in the next trigger run, so it seems like the actual unit turns.
 
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