• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Two little questions :)

Status
Not open for further replies.
Level 4
Joined
Mar 24, 2008
Messages
87
Can we rotate an unit in any direction ? (For example could an unit do a backflip ?) - > In jass or GUI.
Can a trigger detect when a player clik on the icone of an ability ? Without using it.

Thanks !

Exum
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,198
Can we rotate an unit in any direction ? (For example could an unit do a backflip ?) - > In jass or GUI.
No you will need to use a dummy model (with rotation animations) and attack the unit' model to it and hide the orignal to do what you are after. Once the animation is done you can unhide it and remove the dummy and its effect.
Can a trigger detect when a player clik on the icone of an ability ? Without using it.
No, although in SC2 this is possible. In WC3 all icon interactions can only be registered via order or ability events.
 
Last edited:
Level 29
Joined
Mar 10, 2009
Messages
5,016
yes you can rotate but you cant do it in the game...like Dr Super Good, you need animations to do that...

but try this, go to object editor then find "Art - Maximum Pitch Angle" & "Art - Maximum Roll Angle"...

then HOLD SHIFT>>>enter negative value>>>enter number>>>hold shift again>>>press enter

that will change the roll/pitch angle of a unit...
 
Level 4
Joined
Mar 24, 2008
Messages
87
Thanks for answers, i'll take a look on The Helper to try to find the tuto that GhostThruster speak about.
(It's in moments like this where i find that WE's fonctions are limited :/)
 
Status
Not open for further replies.
Top