addAction
Jump to navigation
Jump to search
back to Scripting_Reference#A
unit addaction action
Operand types:
Type of returned value:
Description:
Create an action.
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 1, etc.
Example:
player addAction ["Hello", "hello.sqs"]