Warning: file_put_contents(/ff_86322220437cb19a07a9459152e16ee7d28508d7efe6d7f0.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
action - OFPEC Scripting Command Reference | OFPEC The Editing Center

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