• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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 39
Joined
Feb 27, 2007
Messages
5,010
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