action: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(locality added)
(fixed broken command layout, formatting of note)
Line 13: Line 13:
| Make a unit to perform an action. Use the [[:Category:Actions|List of Actions]] for reference about the available actions and their syntax.  
| Make a unit to perform an action. Use the [[:Category:Actions|List of Actions]] for reference about the available actions and their syntax.  


[[Image:arguments_global.gif|left]] NOTE: While this command should be executed where unit is [[local]], it is not always the case. Actions such as "Eject", "GetOut", "GetInXXXX", "MoveToXXXX", etc can be executed on remote units. |= Description
[[Image:arguments_global.gif]] NOTE: While this command should be executed where unit is [[local]], it is not always the case. Actions such as "Eject", "GetOut", "GetInXXXX", "MoveToXXXX", etc can be executed on remote units. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 37: Line 37:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
[[User:Tom_48_97 | tom_48_97]] 2009-08-28
<dd class="notedate">Posted on 28 Aug, 2009
 
<dt class="note">'''[[User:Tom_48_97|tom_48_97]]'''<dd class="note">
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.
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.
<!-- Note Section END -->
<!-- Note Section END -->

Revision as of 10:55, 8 September 2013

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. arguments global.gif NOTE: While this command should be executed where unit is local, it is not always the case. Actions such as "Eject", "GetOut", "GetInXXXX", "MoveToXXXX", etc can be executed on remote units.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
player action ["SitDown", player];
Example 2:
_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

Posted on 28 Aug, 2009
tom_48_97
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