Jump to navigation Jump to search
Revision as of 11:21, 13 May 2022 by Lou Montana (talk | contribs) (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
- Assigns existing item from inventory (uniform, vest, backpack) to a correct slot. If the slot is occupied by another item, it gets replaced.
- Unit Inventory
- unit assignItem item
- unit: Object
- item: String
- Return Value:
- Example 1:
- bluforUnit addItem "NVGoggles"; bluforUnit assignItem "NVGoggles"; opforUnit addItem "NVGoggles_OPFOR"; opforUnit assignItem "NVGoggles_OPFOR"; independentUnit addItem "NVGoggles_INDEP"; independentUnit assignItem "NVGoggles_INDEP";
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