control buttonSetAction action

Operand types

control : Control
action: String

Type of returned value

Description

Assign an action to the given button or active text.
Action is any expression in this scripting language.
Can be used for buttons and active texts.

Used In

ArmA

Example

_control buttonSetAction "player exec ""reply.sqs"""
Search OFPEC COMREF