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

Unit Animations

Status
Not open for further replies.
Level 2
Joined
Aug 11, 2013
Messages
21
Hello again.

I am trying to make a custom campaign. It is going decent, but I am trying to make some Night Elves to lay dead. (animation) How do I do that? Also I want them to be non clickable.

Any help appreciated.
 
Level 21
Joined
Aug 13, 2011
Messages
739
  • Actions
    • Animation - Play UnitVariableGoesHere's death animation
It makes the unit appear dead.

You don't really need to make a unit unselectable if you're in cinematic mode, but for any unclickable units outside of cinematic mode, you can give it the locust ability using this:
  • Actions
    • Custom script: call UnitAddAbility( udg_UnitVariableGoesHere, 'Aloc')
Be sure to change UnitVariableGoesHere to whatever your unit variable is.
 
Level 2
Joined
Aug 11, 2013
Messages
21
  • Actions
    • Animation - Play UnitVariableGoesHere's death animation
It makes the unit appear dead.

You don't really need to make a unit unselectable if you're in cinematic mode, but for any unclickable units outside of cinematic mode, you can give it the locust ability using this:
  • Actions
    • Custom script: call UnitAddAbility( udg_UnitVariableGoesHere, 'Aloc')
Be sure to change UnitVariableGoesHere to whatever your unit variable is.

Alrighty, but say when I have the units dead they are on another team, how do I prevent them from attacking neutral hostile satyrs?
 
Status
Not open for further replies.
Top