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

[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