If two players write a text...

Status
Not open for further replies.
Level 1
Joined
Sep 15, 2013
Messages
6
Hello,
So I want to make a trigger which is going to work ONLY if both players write ".asdf" for example, but I have no idea how to do it. So here I am, looking for help from more experienced.

Thanks in advance! :smile:
 

  • Ereignisse
    • Player - Player 1 types a chat message asdf
    • Player - Player 2 types a chat message asdf
  • Bedingungen
    • Bool_Check[(Player number of (Triggering player))] Gleich False
  • Aktionen
    • Set Bool_Check[(Player number of (Triggering player))] = True
    • Set Counter = (Counter + 1)
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • 'IF'-Bedingungen
        • Counter Gleich 2
      • 'THEN'-Aktionen
        • -------- Do actions. --------
      • 'ELSE'-Aktionen
Counter is an integer
Bool_Check is a boolean

Of course you can add all 12 player for event.
 
Level 1
Joined
Sep 15, 2013
Messages
6
Thank you guys for all your responses. I needed it to be only triggered once in game, though timeout would be a nice addition. Thanks again!
 
Yes, if you want to use it more often do what they said.

Thx Daffa for posting other exampme. You accidently made little mistake, you set ChatIndexMin = 0 and then = 1... I guess you wanted to set ChatIndexMax instead.
And don't set ChatIndexMax = 1 , set it = 2 ... or actions will run after only 1 chat match.

I did that because I use 0 as the initial array value, the index refer to the array list I made before the indexes. (check carefully).
 
Status
Not open for further replies.
Top