• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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