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

Lock Body-part to Unit/Point PROBLEM!

Status
Not open for further replies.
Level 15
Joined
Oct 29, 2012
Messages
1,474
Hi guys,
I've been working on an animation and I saw that my trigger Lock Body-Part in Animation category isn't working,
  • Animation - Lock Naruto Shippuuden 0993 <gen>'s Head to face Sasuke Shippuuden 0395 <gen>, offset by (0.00, 0.00, 90.00)
WHENEVER I change unit's position , The body-part's unit isn't having his head turned ..

EDIIT : THERE WAS A WRONG LINE !!!.
 
Last edited:
Huh? Wrong line, based on what you said.
Lock Body-Part
Camera - Lock camera target for Player 2 (Blue) to Naruto Shippuden 0407 <gen>, offset by (0.00, 0.00) using The unit's rotation
There was a note that it doesn't work if the unit is moving. Use SetUnitX/Y.
 
Level 13
Joined
Mar 24, 2013
Messages
1,105
Periodically set it, so resets after being moved?

I would love to test it myself, but I don't see that action in my WE. I'm only looking in vanilla right now though.
These are the only Locks- I see.

  • Animation - Lock Paladin 0000 <gen>'s Head to face Blood Mage 0001 <gen>, offset by (0.00, 0.00, 90.00)
  • Camera - Lock camera target for Player 1 (Red) to (Triggering unit), offset by (0.00, 0.00) using Default rotation
  • Camera - Lock camera orientation for Player 1 (Red) to (Triggering unit), offset by (0.00, 0.00)
It's possible this action your using is not that robust and is unable to detect when a unit moves instantly, I would try what wraithon said, potentially it could work, if not you'll just need to periodically set it, which definitely would be easy if you're using preplaced units.
 
Level 15
Joined
Oct 29, 2012
Messages
1,474
Periodically set it, so resets after being moved?

I would love to test it myself, but I don't see that action in my WE. I'm only looking in vanilla right now though.
These are the only Locks- I see.

  • Animation - Lock Paladin 0000 <gen>'s Head to face Blood Mage 0001 <gen>, offset by (0.00, 0.00, 90.00)
  • Camera - Lock camera target for Player 1 (Red) to (Triggering unit), offset by (0.00, 0.00) using Default rotation
  • Camera - Lock camera orientation for Player 1 (Red) to (Triggering unit), offset by (0.00, 0.00)
It's possible this action your using is not that robust and is unable to detect when a unit moves instantly, I would try what wraithon said, potentially it could work, if not you'll just need to periodically set it, which definitely would be easy if you're using preplaced units.

Aw dafuq that is it
  • Animation - Lock Paladin 0000 <gen>'s Head to face Blood Mage 0001 <gen>, offset by (0.00, 0.00, 90.00)
 
Status
Not open for further replies.
Top