• 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] Destructible counter quest.

Status
Not open for further replies.
Level 2
Joined
Mar 9, 2019
Messages
21
The quest goes like this...
Kill a cage, a unit spawns from the region where the cage was and you own it.
The quest asks the player to do this 10 times - 10 different cages.

How do I make a kill counter for destructibles?

This is essentially the same quest in the Orc campaign prelude, just not sure how it is done, but was able to do this for units, but not sure how to translate this for destructibles.
 
Level 45
Joined
Feb 27, 2007
Messages
5,578
Probably by pre-placing a region around all of the cages, then periodically enum-ing the destructables in that region and counting the number of cages. You might be able to make the cages rescuable units and then transform them into the 'given' units on the unit rescued event. You can also open all the campaign maps to see how they did the triggers.
 
Status
Not open for further replies.
Top