actionNow: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.16 |eff= global |gr1= Interaction |descr= Make a unit perform an action immediately (without any animation/pre-processing). Se...") |
Lou Montana (talk | contribs) m (Text replacement - "↵|version1= 2.18↵↵|branch= dev↵" to " |version1= 2.18 ") Tag: Manual revert |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2. | |version1= 2.18 | ||
|eff= global | |eff= global | ||
Line 19: | Line 19: | ||
|s2= [[actionNow]] actionArray | |s2= [[actionNow]] actionArray | ||
|p21= actionArray: [[Array]] | |p21= actionArray: [[Array]] | ||
Line 25: | Line 24: | ||
|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>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]] | ||
}} | }} |
Latest revision as of 16:08, 8 October 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