Display text to triggering player only?

Level 12
Joined
Jan 8, 2015
Messages
422
Hi, i have trouble making trigger diplaying text on certain command just to triggering player. Currently it shows it to all. I found a threat about it but it doesnt explain anything really, especially when stuff is regarding variables it should be explained in detail, and there is none. So can anyone explain me how to make it work?(playergroup variable for triggering player)
 
Level 3
Joined
Jul 2, 2014
Messages
45
  • Show text to triggering player
    • Events
      • Player - Player 1 (Red) types a chat message containing hello as An exact match
    • Conditions
    • Actions
      • Game - Display to (Player group((Triggering player))) the text: world
(All Players) -> Convert Player To Player Group -> Triggering player

Should work just fine.
 
Level 7
Joined
Mar 10, 2013
Messages
365
It leaks, as Dane stated. You should set it to a variable and then destroy the group using call DestroyGroup( udg_TempVar )
 
Last edited:
Top