unitBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (unitBackback moved to unitBackpack: Typo)
(Fixed command wording in examples.)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns unit's backback |= Description
| Returns unit's backpack |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''unitBackback''' unit|= Syntax
| '''unitBackpack''' unit|= Syntax


|p1= unit: [[Object]] |= Parameter 1
|p1= unit: [[Object]] |= Parameter 1
Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>bag = unitBackback this</pre> |= Example 1
|x1= <pre>bag = unitBackpack this</pre> |= Example 1
|x2= <pre>ruck = unitBackback 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
____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 15:15, 2 July 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)

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