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

How to remove a peon that is garrisoned in an orc burrow

Status
Not open for further replies.
Level 18
Joined
Jan 21, 2006
Messages
2,552
I'm going to try this out myself, but in case you somehow beat me to it try detecting enter/leave events on the map region - this will allow you to determine when a Peon is "unburrowed" as the burrow dies. You may want to also implement a death event trigger that will save the value of the dying burrow to a global variable so that you can determine whether or not an enter/leave event is triggered immediately after a death event, which will tell you that the Peons that have "entered" the map are doing so due to the burrow dying.
 
Status
Not open for further replies.
Top