• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Quick Help Trigger Stuck

Status
Not open for further replies.
Level 3
Joined
Jan 19, 2019
Messages
29
  • set.gif
    Set HeroesTeam1 = (Units in (Playable map area) matching ((((Matching unit) is A Hero) Equal to True) and (((Matching unit) belongs to an ally of Player 1 (Red)) Equal to True)))
  • set.gif
    Set HeroesTeam2 = (Units in (Playable map area) matching ((((Matching unit) is A Hero) Equal to True) and (((Matching unit) belongs to an ally of Player 2 (Blue)) Equal to True))
  • unit.gif
    Unit - Move (Random unit from (HeroesTeam1)) instantly to (Center of (Playable map area))
  • unit.gif
    Unit - Move (Random unit from (HeroesTeam2)) instantly to (Center of (Playable map area))
My Problem is that when doing this trigger i am unable to figure out how to extend the variable trigger past... "Set HeroesTeam2 = (Units in (Playable map area) matching ((((Matching unit) is A Hero) Equal to True) and (((Matching unit) belongs to an ally of Player 2 (Blue))<----" I dont know how to add an additional Equal to True if anyone is able to describe how I can figure this out I cant figure out what trigger action to locate to attach to the string.
 
Level 3
Joined
Jan 19, 2019
Messages
29
What are you talking about where is this "and" option on the list? i feel like this wasnt very informative lol like what list? where should i see it when I have the above triggers open? do I open the player 2 blue at the end of the trigger to add it orr?
 
Level 23
Joined
Dec 4, 2007
Messages
1,557
Set temp_unitgroup = (Units in (Playable map area) matching ((((Triggering unit) is A structure) Equal to True) and ((((Triggering unit) is A Hero) Equal to True) and ((((Triggering unit) is A ground unit) Equal to True) and (((Triggering unit) is Able to attack ground units) Equ

sth like this right?

when matching more conditions, there is an "and" field.
and and and.jpg


btw: i would advise you to use this method of filtering: Convenient Unit Group Filtering in GUI
it will save you a lot of hassle down the road
 
Status
Not open for further replies.
Top