Description
Returns the action assigned to a control of the currently active user dialog. Can be used for buttons and active texts. Read Arma: GUI Configuration for more information about user dialogs and controls.
Syntax
Syntax 1
buttonAction idc
Parameters:
idc: Number - button IDC
Returns: String
Syntax 2
buttonAction control
Parameters:
control: Control
Returns: String
Examples
Example 1
buttonSetAction [100, { player exec "reply.sqs" }];
_action = buttonAction 100; // Returns { player exec "reply.sqs" };