getUnitLoadout: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{warning|This command is not final and might be changed in a near future.}}
{{Command|= Comments
{{Command|= Comments
|arma3 dev|= Game name
|arma3 dev|= Game name
Line 6: Line 4:
| 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.


{{warning|This command is not final and might be changed in a near future.}}
| [[getUnitLoadout]] unit|= Syntax
| [[getUnitLoadout]] unit|= Syntax
|p1= Unit: [[Object]] |= Parameter 1
|p1= Unit: [[Object]] |= Parameter 1

Revision as of 20:49, 20 April 2016

-wrong parameter ("arma3 dev") defined!-[[:Category:Introduced with arma3 dev version 1.59|1.59]]
Hover & click on the images for description

Description

Description:
Returns an array with all assigned items, weapons, containers and their stored items.
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

[[Category:Introduced with arma3 dev version 1.59]][[ Category: arma3 dev: New Scripting Commands | GETUNITLOADOUT]][[ Category: arma3 dev: Scripting Commands | GETUNITLOADOUT]]

Bottom Section

Notes

Bottom Section