• 🏆 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!

Need help with adding a condition.

Status
Not open for further replies.
Level 1
Joined
Mar 9, 2021
Messages
2
Hi, new to the site and the map making community, so this might be a dumb question, but how would i make a condition of a unit being dead. Im making a cutscene and I want to have a certain hero die before it can be triggered, and ive tried everything I can think of and nothing works.
 

Uncle

Warcraft Moderator
Level 64
Joined
Aug 10, 2018
Messages
6,583
For a specific unit, like one you've placed on the map, you use the Unit Comparison condition.
  • example 1
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Triggering unit) Equal to Paladin 0000 <gen>
    • Actions
      • -------- Play cinematic --------
For a generic unit of a particular type you use the Unit-Type Comparison condition:
  • example 2
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Paladin
    • Actions
      • -------- Play cinematic --------
 
Last edited:
Status
Not open for further replies.
Top