How to do all for a text trigger?

gunnershotz

New Member
Reaction score
0
Like, I want to make it when ever someone says a keyword, it gives them a unit.

But i dont want to go through all of the players individually.


Like instead of ( Player Red types 'secks' as a exact match)

have it be like ( A Player types 'secks' as a exact match )


Is this possible?
 

gunnershotz

New Member
Reaction score
0
@tommerbob -- Exactly.

I mean I want all players to be able to type the keyword. Right now if I want to do that I have to make it:

Player 1 types blabla as an exact match
player 2 types blabla as an exact match
player 3 types blabla as an exact match

etc...


Is there to make it so if any player types it, it will do the action?
 

trb92

Throwing science at the wall to see what sticks
Reaction score
142
There is no generic "Any player types a chat message" event, but you can do it this way using two triggers.
Trigger:
  • Init
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Trigger - Add to Untitled Trigger 001 <gen> the event (Player - (Picked player) types a chat message containing whatever as An exact match)

Trigger:
  • Untitled Trigger 001
    • Events
    • Conditions
    • Actions
      • -------- Insert whatever should happen when the text message is entered --------
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top