action: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (merged links)
No edit summary
Line 23: Line 23:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_soldier action ["eject", vehicle soldier]</pre> |= Example 1
|x1= <pre>_soldier action ["eject", vehicle soldier];</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:56, 11 October 2010

Hover & click on the images for description

Description

Description:
Make a unit to perform an action. Use the List of Actions for reference about the available actions and their syntax.
Groups:
Uncategorised

Syntax

Syntax:
unitName action action
Parameters:
unitName: Object
action: Array
Return Value:
Nothing

Examples

Example 1:
_soldier action ["eject", vehicle soldier];

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

tom_48_97 2009-08-28 In ArmA 2, you can place a unique unit (for example a boat, far of all combats) and use it for all command lines with action.

Bottom Section