Triggers/Events/Button Pressed

From SC2Mapster Wiki
Jump to: navigation, search

UI-Input

Button Pressed

GUI

UI - Player player presses button

Galaxy Code

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

Description

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