getUnitLoadout: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(took off dev branch)
(Added link to talk page for more details on the returned array)
Line 3: Line 3:
|1.58|= Game version
|1.58|= Game version
| Returns an array with all assigned items, weapons, containers and their stored items.
| Returns an array with all assigned items, weapons, containers and their stored items.
Detailed explanation of the returned array: [[Talk:getUnitLoadout]]


{{warning|This command is not final and might be changed in a near future.}}
{{warning|This command is not final and might be changed in a near future.}}

Revision as of 16:27, 3 May 2016

Hover & click on the images for description

Description

Description:
Returns an array with all assigned items, weapons, containers and their stored items. Detailed explanation of the returned array: Talk:getUnitLoadout
This command is not final and might be changed in a near future.
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

Bottom Section

Notes

Bottom Section