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

[General] Golem Animation

Status
Not open for further replies.
Level 37
Joined
Aug 14, 2006
Messages
7,602
Hey,

I'm having a little problem. I have many golems in a map and I want them to look dead. When player goes near a golem, it wakes up and attacks the player. Now some golems goes to correct animation position but some don't. How to fix?

Rep for helpers. Map attached.
 

Attachments

  • GOLEM ANIM.w3x
    18.1 KB · Views: 53
Level 12
Joined
Mar 24, 2011
Messages
1,082
Edit//deleted

Edit2//

  • Set GolemGroup = (Units within 101.00 of TempLoc matching ((Unit-type of (Picked unit)) Equal to Mud Golem))
Matching unit >>
  • Set GolemGroup = (Units within 150.00 of TempLoc matching ((Unit-type of (Matching unit)) Equal to Mud Golem))

If this is 100
  • Trigger - Add to Untitled Trigger 002 <gen> the event (Unit - A unit comes within 100.00 of (Picked unit))
Set this to 150
  • Set GolemGroup = (Units within 150.00 of TempLoc matching ((Unit-type of (Matching unit)) Equal to Mud Golem))


Only the golems around the camera start the death animation. Idk why that or how to fix.
Someone more experienced should add some comment.
 
Last edited:

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Animations are played locally. This allows them to conserve system resources by not tracking the state of animations that occur far off-screen. You can also play animations locally without causing a desynchronization.

You have 2 choices as to what to do.
1. Hide the golems so they have no art and when a unit comes nearby you unhide them and play their birth animation.
2. If you want them to look dead on the ground you do the same as step 1 but with a dummy destructable that is set to always look dead that you remove when you unhide the golem.
 
Status
Not open for further replies.
Top