buttonAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|1.5 " to "| ")
m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ")
Line 17: Line 17:
|s2= '''buttonAction''' control
|s2= '''buttonAction''' control


|p21= control: [[Control]] |PARAMETER21=
|p21= control: [[Control]]
|r2= [[String]]
|r2= [[String]]
   
   

Revision as of 19:15, 29 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control

Syntax

Syntax:
Syntax needed
Parameters:
idc: Number. index of button
Return Value:
Return value needed

Alternative Syntax

Syntax:
buttonAction control
Parameters:
control: Control
Return Value:
String

Examples

Example 1:
buttonSetAction [100, {player exec "reply.sqs"}] _action = buttonAction 100 returns {player exec "reply.sqs"}

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note