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

Checking if one unit has the Ticket Item in a unit group

Status
Not open for further replies.
Level 8
Joined
Jul 18, 2010
Messages
332
  • Unit Group - Pick every unit in team1units_Copy and do (Actions)
    • Loop - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Picked unit) has an item of type Golden Ticket) Equal to True
        • Then - Actions
          • Trigger - Turn on nightmare circus boss stage Copy <gen>
        • Else - Actions
          • Trigger - Turn on nightmare circus boss stage Copy Copy <gen>
This trigger is supposed to check if one of the units has a golden ticket. At first, I made the condition to have all units carrying the golden ticket but now only one unit is obliged to get the ticket.

The problem is that I don't know how to do it.
 
Status
Not open for further replies.
Top