action: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 14: Line 14:
____________________________________________________________________________________________
____________________________________________________________________________________________


| unit '''action''' action |= Syntax
| [[Object|Unit]] '''action''' action |= Syntax


|p1= unit: [[Object]] |= Parameter 1
|p1= [[Object|Unit]]: [[Object|Person]] or [[Object|Vehicle]] |= Parameter 1


|p2= action: [[Array]] |= Parameter 2
|p2= action: [[Array]] |= Parameter 2
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 05:16, 27 August 2007

Hover & click on the images for description

Description

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

Syntax

Syntax:
Unit action action
Parameters:
Unit: Person or Vehicle
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

Bottom Section