buttonSetAction [idc, action]

Operand types

[idc, action]: Array

Type of returned value

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.

Used In

OFP/ArmA

Example

buttonSetAction [100, "player exec ""reply.sqs"""]
Search OFPEC COMREF