buttonAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|BUTTONACTION]]
[[Category:Scripting Commands|BUTTONACTION]]
[[Category:Scripting Commands OFP 1.97|BUTTONACTION]]
[[Category:Scripting Commands OFP 1.96|BUTTONACTION]]
[[Category:Scripting Commands ArmA|BUTTONACTION]]
[[Category:Scripting Commands ArmA|BUTTONACTION]]



Revision as of 20:43, 1 June 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