unit addAction action
Operand types:
unit: Object
action: Array
Compatibility:
Version 1.1 required.
Type of returned value:
Nothing
Description:
Create an action. Action ID should be returned, but due to bug it is not. Action ID should be returned, but due to bug it is not. To determine action ID use following algorithm: first action added to given vehicle has ID zero, next has ID one, etc.
Example:
player addAction ["Hello", "hello.sqs"]