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

[Trigger] Multiboard need some fixes..

Status
Not open for further replies.
Level 15
Joined
Jul 19, 2007
Messages
824
I got some small problems with the multiboard on my map. When a friendly player leaves the game, the multiboard dissappears from the window and it shows "Team Resources" instead and also when a player leaves the game I want it to be shown a message that says "(name of leaving player)(name of leaving players hero) has left the game." but it still only messages with the name of the leaving player, not the hero name too.. Pls someone help me with this!
 
Level 17
Joined
Jul 17, 2011
Messages
1,863
well if you want help then why dont you post the triggers or your map i cant see what your problem is if i dont see your triggers :p
for the leaving player message use this
JASS:
function Trig_Untitled_Trigger_007_Actions takes nothing returns nothing
    call DisplayTextToForce( GetPlayersAll(), ( GetPlayerName(GetTriggerPlayer()) + ( "  " + "has left the game!" ) ) )
endfunction

//===========================================================================
function InitTrig_Untitled_Trigger_007 takes nothing returns nothing
    set gg_trg_Untitled_Trigger_007 = CreateTrigger(  )
    call TriggerRegisterPlayerEventLeave( gg_trg_Untitled_Trigger_007, Player(0) )
    call TriggerAddAction( gg_trg_Untitled_Trigger_007, function Trig_Untitled_Trigger_007_Actions )
endfunction
just make a new trigger and convert it to custom text delete everything else and copy this
 
Last edited:
Status
Not open for further replies.
Top