action: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
No edit summary |
||
Line 64: | Line 64: | ||
<dd class="note"> | <dd class="note"> | ||
This command has no effect when a dead unit is used as input. | This command has no effect when a dead unit is used as input. | ||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> | |||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on June 27, 2017 - 02:15 (UTC)</dd> | |||
<dt class="note">[[User:DrSova|DrSova]]</dt> | |||
<dd class="note"> | |||
<code>player action ["SWITCHWEAPON",player,player,-1]</code> | |||
Switching weapon to the back. | |||
</dd> | </dd> | ||
</dl> | </dl> | ||
<!-- DISCONTINUE Notes --> | <!-- DISCONTINUE Notes --> |
Revision as of 03:15, 27 June 2017
Description
- Description:
- Make a unit to perform an action. Use the List of Actions for reference about the available actions and their syntax.
NOTES:- 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.
- In SP, when user Alt+Tabs the simulation is paused and so the action will also halt until user returns to the game. For example, player action ["GetInDriver", car] executed while user is Alt+Tabbed will result in user seeing the action happening when he returns to the game screen. This doesn't happen in MP.
- Groups:
- Uncategorised
Syntax
Examples
Additional Information
- See also:
- actionIDsactionParamsaddActionsetUserActionTextinGameUISetEventHandlershowHUDinputActionremoveActionremoveAllActions
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
- Posted on March 27, 2015 - 17:57 (UTC)
- DreadedEntity
- This command has no effect when a dead unit is used as input.
- Posted on June 27, 2017 - 02:15 (UTC)
- DrSova
-
player action ["SWITCHWEAPON",player,player,-1]
Switching weapon to the back.
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.99
- 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