• 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.

[Solved] Display text to players matching condition

Status
Not open for further replies.
Level 11
Joined
Jul 9, 2009
Messages
927
Does anyone know how to display a text only to the person who has the right conditions ? right now all i can see is to show it to a player group. If anyone knows, please help xD
 
Convert player to player force.

  • Init
    • Events
      • <your events>
    • Conditions
      • <your conditions>
    • Actions
      • Set your_force = (Player group (Triggering player))
      • Game - Display to your_force message <your message>
      • Custom script: call DestroyForce(udg_your_force)
@GangSpear your trigger leaks, you need to destroy force afterwards, like I did above.
 
Level 11
Joined
Jul 9, 2009
Messages
927
@Gangspear Apparently, that trigger does not work because when i tried that It also showed the text to my ally. because its like the Player Group of mine, that means my ally.

@Spinnaker ill try to use that , will give rep when it works ;)
 
Level 13
Joined
Oct 25, 2009
Messages
995
If you mean your ally,then all allies?
  • Melee Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Allies_Group = (All allies of Player 1 (Red))
      • Game - Display to Allies_Group for 30.00 seconds the text: You fail!
      • Custom script: call DestroyForce(udg_Allies_Group)
 
Level 11
Joined
Jul 9, 2009
Messages
927
no I just want to display it to a player
Spinnakers trigger worked ( I now owe you 2[Just added 1] xD )
 
Status
Not open for further replies.
Top