Description
Make a unit perform an action immediately (without any animation/pre-processing). See the action command for more information.
Syntax
unit actionNow actionArray
Parameters:
Returns: Nothing
Examples
Example 1
player actionNow ["TakeBag", _backpack]; // pick up a backpack without any animation
Example 2
player actionNow ["Gear", vehicle player]; // open inventory while in vehicle
See also
action · actionIDs · actionParams · addAction · setUserActionText · inGameUISetEventHandler · showHUD · inputAction · removeAction · removeAllActions · weaponsInfo