unitBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Fixed command wording in examples.)
No edit summary
Line 19: Line 19:
|x1= <pre>bag = unitBackpack this</pre> |= Example 1
|x1= <pre>bag = unitBackpack this</pre> |= Example 1
|x2= <pre>ruck = unitBackpack mySoldierDude</pre> |= Example 2
|x2= <pre>ruck = unitBackpack mySoldierDude</pre> |= Example 2
|x3= <pre>clearMagazineCargo (unitBackpack this)</pre> |= Example 3
|x3= <pre>clearMagazineCargo unitBackpack this</pre> |= Example 3
|x4= <pre>player action ["gear", unitBackpack player]</pre> |= Example 4
 
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 17:08, 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:
bag = unitBackpack this
Example 2:
ruck = unitBackpack mySoldierDude
Example 3:
clearMagazineCargo unitBackpack this
Example 4:
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