PLayer Triggers

Leatherneck

New Member
Reaction score
0
Not sure where to post this question, so I will do it here! Simply, I am curious if there is a way to make a trigger that DOESN'T involve doing Each Player/Color seperately.

Example: I want to make a Trigger that Essentially does this

Actions-Sound - Play ucanleave <gen>

And above this Actions is of course listed All the Players/Colors 1-12 in 'Events'
Player - Player 1 (Red) types a chat message containing -leave as An exact match
so on and so on through 12 players. Is there a Way to shorten the 'Events' into a Player group so you dont have to List Each Player Seperately?
 

thorhunter

You can change this now in User CP.
Reaction score
32
Use loop at map initialization that does Trigger - Add event, and refer to player numbers.
 

vypur85

Hibernate
Reaction score
803
Just a reiterative reply as above.
Code:
Event
   Map Init
Condition
Action
   Player group - Pick (All player) and do...
       Loop - Actions
          Trigger - Add to ChatTrigger (gen) the event (Picked player) types a chat command -defeat with exact match...
Code:
ChatTrigger
  Event
     <[I]Empty[/I]>
  Condition
  Actions
      Game - Defeat Triggering player...
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top