Triggers/Events/Button Pressed

From SC2Mapster Wiki
Jump to: navigation, search

UI-Input[edit | edit source]

Button Pressed[edit | edit source]

GUI[edit | edit source]

UI - Player player presses button

Galaxy Code[edit | edit source]

void TriggerAddEventButtonPressed (trigger t,int player,string button)

Description[edit | edit source]

Only register for this event when you absolutely need it, as it will generate network traffic from all players for every button they press. This event fires when a player presses a command card button. Use "Button Pressed" to get the button that was pressed.

Parameters[edit | edit source]