buttonAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[.*\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\[\[Category:Scripting Commands OFP 1.[4-9]{2}(\|(\{\{uc:\{\{PAGENAME\}\}\}\}|#|[A-Z]+))?\]\] " to "")
Line 30: Line 30:




[[Category:Scripting Commands OFP 1.99|BUTTONACTION]]
[[Category:Scripting Commands OFP 1.96|BUTTONACTION]]
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}

Revision as of 00:26, 25 March 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:
buttonSetActionctrlActivate

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