unit action action

Operand types

unit: Object
action: Array

Type of returned value

Description

Make unit preform an action.
Format of action may be [type, target, param1, param2, param3].
Usually, only type is required, target defaults to unit, param1, param2, param3 are type specific.

Used In

OFP/ArmA

Example

soldierOne action ["eject", vehicle soldierOne]

Advertisement