buttonSetAction: Difference between revisions

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


back to [[Scripting_Reference#B|COMREF]]
back to [[Scripting_Reference#B|COMREF]]

Revision as of 13:50, 21 April 2006


back to COMREF

buttonSetAction [idc, action]


Operand types:

[idc, action]: Array

Type of returned value:

Nothing

Compatibility:

Added in version 1.50

Description:

Assign action 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:

buttonSetAction [100, "player exec ""reply.sqs"""]