• 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.

[General] 6 bosses, 6 commands, 11 players [Trigger Editor]

Status
Not open for further replies.
Level 7
Joined
Mar 9, 2016
Messages
226
Hello!
Thanks for taking the time to check my issue out.
I'd
to help in return however i can.

So, i made player 1 as a base for the triggers.

fa11a0ca58064323a1a3213556b7873c.png

As spoken in the title, 6 bosses.
I don't want to make the event for all 11 players 6 times.

My question is, is there a way to select all players?
If "Any player" types a chat message containing 5 as An exact match




 
Level 7
Joined
Mar 9, 2016
Messages
226
I realized it would be bad making the map this way anyways, i'm making player 1 a world ruler instead of a computer.
Player 1 will control the spawning of bosses with chat commands.


However i'd still to know if there is a way to select all players in such manner.
 
Level 12
Joined
May 22, 2015
Messages
1,051
You can add events to an existing trigger in the actions of another trigger.
Player Group - Pick Every Player in (Your Group of Players) and do actions :
Use this method to loop over the players and add the message command for (Picked Player) for each boss. You can put this code in a separate trigger that runs after a few seconds elapsed (to make sure the other trigger is built properly first).
 
Status
Not open for further replies.
Top