unitBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>bag = unitBackpack this</pre> |= Example 1
|x1= <pre>myBackpack = unitBackpack player</pre> |= Example 1
|x2= <pre>ruck = unitBackpack mySoldierDude</pre> |= Example 2
|x2= <pre>clearMagazineCargo unitBackpack player</pre> |= Example 2
|x3= <pre>clearMagazineCargo unitBackpack this</pre> |= Example 3
|x3= <pre>player action ["gear", unitBackpack player]</pre> |= Example 3
|x4= <pre>player action ["gear", unitBackpack player]</pre> |= Example 4


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 18:11, 28 October 2010

Hover & click on the images for description

Description

Description:
Returns unit's backpack
Groups:
Uncategorised

Syntax

Syntax:
unitBackpack unit
Parameters:
unit: Object
Return Value:
Object

Examples

Example 1:
myBackpack = unitBackpack player
Example 2:
clearMagazineCargo unitBackpack player
Example 3:
player action ["gear", unitBackpack player]

Additional Information

See also:
addMagazineCargoaddWeaponCargoclearMagazineCargoclearWeaponCargo

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

Notes

Bottom Section