Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

Triggers/Events/Button Pressed

From SC2Mapster Wiki
Jump to: navigation, search


Button Pressed


UI - Player player presses button

Galaxy Code

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


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.