actionNow: Difference between revisions
Jump to navigation
Jump to search
(add example for opening inventory while in vehicle) |
mNo edit summary |
||
Line 25: | Line 25: | ||
|r2= [[Nothing]] | |r2= [[Nothing]] | ||
|x1= <sqf>player actionNow ["TakeBag", | |x1= <sqf>player actionNow ["TakeBag", _backpack]; // pick up a backpack without any animation</sqf> | ||
|x2= <sqf>vehicle player actionNow ["Gear", player]; // open inventory while in vehicle</sqf> | |x2= <sqf>vehicle player actionNow ["Gear", player]; // open inventory while in vehicle</sqf> |
Revision as of 22:32, 13 January 2024
Description
- Description:
- Make a unit perform an action immediately (without any animation/pre-processing). See the action command for more information.
- Groups:
- Interaction
Syntax
Alternative Syntax
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- action actionIDs actionParams addAction setUserActionText inGameUISetEventHandler showHUD inputAction removeAction removeAllActions weaponsInfo
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