Game Message only for Triggering Player

Status
Not open for further replies.
  • Trigger
    • Events
      • Event
    • Conditions
    • Actions
      • Player Group - Add (Triggering player) to Temp_Group
      • Game - Display to Temp_Group the text: "Text"
      • Player Group - Remove (Triggering player) from Temp_Group
      • Custom script: call DestroyForce(udg_Temp_Group)
 
  • Trigger
    • Events
      • Event
    • Conditions
    • Actions
      • Player Group - Add (Triggering player) to Temp_Group
      • Game - Display to Temp_Group the text: "Text"
      • Player Group - Remove (Triggering player) from Temp_Group
      • Custom script: call DestroyForce(udg_Temp_Group)

Nop, this will will show the message on every player that's currently in the player group. Assassins-Creed's solution is the easiest and most appropriate.
 
  • Action
  • Game - Display to (Player group((Triggering player))) for 30.00 seconds the text: blablabla
Convert player to player group.

Leaky. Use this one.
  • Actions
    • Set PGroup = (Player group((Triggering player)))
    • Game - Display to (All players) for 5.00 seconds the text: I got the power!
    • Custom script: call DestroyForce(udg_PGroup)
 
How could his be leaky? What could go wrong?
[Is it to "simple"? ] It work fine .

Player groups leak apparently. If your map starts getting slow and choppy while you're playing it, come back and learn how to remove leaks. Most maps aren't effected by it. If you're using some periodic triggers that fire once a second or so and have leaks in them you will get a problem.
 
Status
Not open for further replies.
Back
Top