buttonAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *PARAMETER[0-9]{1,3} *= * " to " ")
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "")
Line 29: Line 29:




[[Category:Scripting Commands|BUTTONACTION]]
 
[[Category:Scripting Commands OFP 1.99|BUTTONACTION]]
[[Category:Scripting Commands OFP 1.99|BUTTONACTION]]
[[Category:Scripting Commands OFP 1.96|BUTTONACTION]]
[[Category:Scripting Commands OFP 1.96|BUTTONACTION]]

Revision as of 02:33, 5 February 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