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

[Trigger] Remove lumber from shoulder of Peasant

Status
Not open for further replies.
Level 18
Joined
Jun 2, 2009
Messages
1,233
Hello everyone. Is there a way to remove lumber from the shoulder of peasant without returning the lumber mill? First i am thinking about replacing unit but it can cause unexpected things. It would be nice to see trigger like this.
 
Level 12
Joined
Jul 4, 2016
Messages
634
Afaik, its part of the model, you can try setting the animation to normal stand or walk to remove the lumber model, I suppose.

Unless, I misread and you are asking to reset the lumber count it is carrying?
 
Last edited:
Level 13
Joined
Oct 12, 2016
Messages
769
Using a different skin for the unit won't affect how it works with AI, if that's what you're wondering.
Or, do you mean you want to return lumber without going to a lumber mill-type structure?
For that, just add the "lumber return" ability you see on lumber mills to the peasant.
 
Level 18
Joined
Jun 2, 2009
Messages
1,233
Use the 'Animation - Add/Remove Unit Animation Tag' action to remove the lumber animation tag.
  • Animation - Remove the lumber animation tag to (Triggering unit)

Ah i was already done by replacing unit but now i need the opposite. I need to give the lumber animation to them and i have tried to add lumber animation same way like your suggestion for remove, it worked. Thank you :)

Edit: I have solved this problem with replacing unit. Because when i add or remove lumber with animations, game still counts he has lumber so he cannot gather no more.
 
Last edited:
Status
Not open for further replies.
Top