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

Make unit stand still.

Status
Not open for further replies.

SpasMaster

Hosted Project: SC
Level 24
Joined
Jan 29, 2010
Messages
1,986
Hello, Hive!

I've got a question here. It might inolve as much object editor work as trigger editor, so I was not sure where to post it. Anywhere, here we go:

How do I make a unit perfectly still? I am trying to make Golem Guardians, that don't move AT ALL and can't be clicked - litteraly like statues. When a certain trap is triggered, the golems are released, clickable and normally moving. Any ideas? Thanks!
 
Level 28
Joined
Sep 26, 2009
Messages
2,520
Give them locust ability so you cannot target them and when map loads, pause them.
When they are triggered, unpause them and remove locust (you may need to hide and unhide the unit iirc after you remove locust, but the unit will still be a bit weird). Or you can make two units - one is unmoving statue with locust and the other is the "active" version. When statues are triggered, you replace statue for active golem.
 
Last edited:
Level 14
Joined
Nov 17, 2010
Messages
1,266
You can set their animation speed to zero and they will not move at all. Then reset the animation speed to default when you want them to move.
 

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,219
You can set their animation speed to zero and they will not move at all. Then reset the animation speed to default when you want them to move.

that wont work. It will just make the unit move without playing any animation. (being freezed)

In that case you need to set movement speed and turn speed to 0 as well.
 

SpasMaster

Hosted Project: SC
Level 24
Joined
Jan 29, 2010
Messages
1,986
that wont work. It will just make the unit move without playing any animation. (being freezed)

In that case you need to set movement speed and turn speed to 0 as well.

I still haven't tried, but that should theoretically work, since both animation, movment and turn speed can be adjusted by triggers if I am not mistaken. This means that I set all of the above to 0 and when trap is prung, I adjust to desired values. Am I right?
 
Status
Not open for further replies.
Top