actionNow: Difference between revisions
Jump to navigation
Jump to search
m (2.16 -> 2.18) |
No edit summary |
||
Line 26: | Line 26: | ||
|x1= <sqf>player actionNow ["TakeBag", _backpack]; // pick up a backpack without any animation</sqf> | |x1= <sqf>player actionNow ["TakeBag", _backpack]; // pick up a backpack without any animation</sqf> | ||
|x2= <sqf> | |x2= <sqf>player actionNow ["Gear", vehicle player]; // open inventory while in vehicle</sqf> | ||
|seealso= [[action]] [[actionIDs]] [[actionParams]] [[addAction]] [[setUserActionText]] [[inGameUISetEventHandler]] [[showHUD]] [[inputAction]] [[removeAction]] [[removeAllActions]] [[weaponsInfo]] | |seealso= [[action]] [[actionIDs]] [[actionParams]] [[addAction]] [[setUserActionText]] [[inGameUISetEventHandler]] [[showHUD]] [[inputAction]] [[removeAction]] [[removeAllActions]] [[weaponsInfo]] | ||
}} | }} |
Revision as of 12:12, 26 February 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