addAction: Difference between revisions
Categories: 
No edit summary  | 
				No edit summary  | 
				||
| Line 1: | Line 1: | ||
back to [[Scripting_Reference#A]]  | |||
== '''''unit'' addaction ''action''''' ==  | == '''''unit'' addaction ''action''''' ==  | ||
Revision as of 11:56, 15 April 2006
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"]