• 🏆 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] Destroying a cage is required to complete a side quest

Status
Not open for further replies.
Level 1
Joined
Nov 10, 2021
Messages
2
Hello!
I recently returned to what used to give me incredible joy - mapmaking.

I've been working on my map for a few days now, and I'm having a lot of fun. Unfortunately, I've encountered a problem that I can't solve with my own efforts.

I've created a side quest that requires the player to destroy 4 cages. Unfortunately I don't know how to make destroying those cages a condition to complete the quest.

Only you are left to help me!
 
Level 25
Joined
Sep 26, 2009
Messages
2,404
Make an integer variable that represents how many cages are left.
Detect when specific destructible (one of the cages) dies - when that happens, decrement the integer variable.
When the integer variable reaches 0, mark quest as complete
 
Status
Not open for further replies.
Top