• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

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