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

Question with units

Status
Not open for further replies.
Level 8
Joined
Aug 1, 2008
Messages
420
I cant explain, its kind of a big question. How would you make a unit face downwards? Like... its feet towards the sky... and its head facing the floor. And how would you make a unit lie on its side, like its dead? (but without playing its death animation) is it possible?
 
Last edited:
Level 16
Joined
Jul 21, 2008
Messages
1,121
How would you make a unit face downwards?

Make a dummy unit and implement this function:
  • Animation - Lock <Your Unit's> Head to face <Dummy>, offset by (<X>, <Y>, <Z>)
Set every offset by 0.00 and create dummy very close.

Look screenshot:
59871d1246956555-question-with-units-pew-pew.jpg

Peasant is ''Dummy'' unit created close to unit.

And how would you make a unit lie on its side, like its dead? (but without playing its death animation)

Just set ''Roll Angle'' to -1.57 and height to 50.

Screenshot:
59872d1246956833-question-with-units-window.jpg
 

Attachments

  • pew pew.JPG
    pew pew.JPG
    8.1 KB · Views: 190
  • WINDOW.JPG
    WINDOW.JPG
    39 KB · Views: 157
Level 8
Joined
Aug 1, 2008
Messages
420
is there a way to change the roll angle through triggers, not the object editor?
(sorry for double post, i just want this to get bumped aswell - for the people that think this is solved already to see that its not)
 
Last edited:
Status
Not open for further replies.
Top