buttonAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|B]]
[[Category:Scripting Commands ArmA|B]]


back to [[Scripting_Reference#B|COMREF]]


<h2 style="color:#000066"> '''buttonAction ''idc'''''</h2>
<h2 style="color:#000066"> '''buttonAction ''idc'''''</h2>

Revision as of 12:33, 23 April 2006


buttonAction idc


Operand types:

idc: Number

Type of returned value:

String

Compatibility:

Added in version 1.50

Description:

Return action assigned to control with id idc of topmost user dialog.

Action is any expression in this scripting language.

Can be used for buttons and active texts.


Example:

_action = buttonAction 100