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

[Solved] Trigger question

Status
Not open for further replies.
Level 9
Joined
Feb 20, 2014
Messages
409
Hi :)
This is a trigger in an Angel Arena map (So it has to work for all players)

Current trigger remove Hero (good) but also stash (not good).
(I turned the stash unit into a hero to avoid crash caused by people picking up XP tome with their stash)
Is there a condition or a way to make this trigger just remove "playing Hero" and not stash?

(This is a trigger to suicide but fixing this one will fix the "repick" too.

trigger.png
 
Level 39
Joined
Feb 27, 2007
Messages
5,031
You put “picked unit” but it should be “matching unit”. That will make it work correctly.

Use picked inside of the actions loop for a unit group pick, and use matching in any conditions where the phrase “matching <condition>” is used.
 
Status
Not open for further replies.
Top