getUnitLoadout: Difference between revisions
Jump to navigation
Jump to search
(created page for getUnitLoadout) |
(improved formatting) |
||
Line 7: | Line 7: | ||
|p1= Unit: [[Object]] |= Parameter 1 | |p1= Unit: [[Object]] |= Parameter 1 | ||
| [[Array]] - Array containing all inventory items |= RETURNVALUE | | [[Array]] - Array containing all inventory items |= RETURNVALUE | ||
|x1= <code>getUnitLoadout player;</code>|= EXAMPLE1 | |x1= <code>[[getUnitLoadout]] player;</code>|= EXAMPLE1 | ||
| [[setUnitLoadout]]|= SEEALSO | | [[setUnitLoadout]]|= SEEALSO |
Revision as of 19:34, 15 April 2016
Description
- Description:
- Returns an array with all assigned items, weapons, containers and their stored items.
- Groups:
- Uncategorised
Syntax
- Syntax:
- getUnitLoadout unit
- Parameters:
- Unit: Object
- Return Value:
- Array - Array containing all inventory items
Examples
- Example 1:
getUnitLoadout player;
Additional Information
- See also:
- setUnitLoadout
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
[[Category:Introduced with arma3 dev version 1.59]][[ Category: arma3 dev: New Scripting Commands | GETUNITLOADOUT]][[ Category: arma3 dev: Scripting Commands | GETUNITLOADOUT]]