buttonAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "")
m (Text replacement - "\| *((\[\[.*\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 25: Line 25:
returns {[[player]] [[exec]] "reply.sqs"}
returns {[[player]] [[exec]] "reply.sqs"}


| [[buttonSetAction]], [[ctrlActivate]]
|seealso= [[buttonSetAction]], [[ctrlActivate]]
}}
}}



Revision as of 23:19, 16 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:
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