action: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Killzone Kid (talk | contribs) (locality added) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Make a unit to perform an action. Use the [[:Category:Actions|List of Actions]] for reference about the available actions and their syntax. |= Description | | 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 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | unit '''action''' action |= Syntax | ||
|p1= | |p1= unit: [[Object]] |= Parameter 1 | ||
|p2= action: [[Array]] |= Parameter 2 | |p2= action: [[Array]] |= Parameter 2 | ||
Line 23: | Line 25: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>[[player]] [[action]] ["SitDown", [[player]]];</code> |= Example 1 | ||
|x2= <code>_soldier [[action]] ["Eject", [[vehicle]] _soldier];</code> |= Example 2 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 23:22, 5 September 2013
Description
- Description:
- Make a unit to perform an action. Use the List of Actions for reference about the available actions and their syntax. 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
Examples
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Command Group: Unit Control