addBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (<pre> to <code>)
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>this addBackpack "TK_RPG_Backpack_EP1"</pre> |= Example 1
|x1= <code>[[this]] [[addBackpack]] "TK_RPG_Backpack_EP1";</code> |= Example 1
|x2= <pre>mySoldierDude addBackpack "US_Patrol_Pack_EP1"</pre> |= Example 2
 
|x2= <code>_mySoldierDude [[addBackpack]] "US_Patrol_Pack_EP1";</code> |= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 03:35, 15 April 2014

Hover & click on the images for description

Description

Description:
Adds a backpack for a unit. Classname list of available backpacks :
Groups:
Uncategorised

Syntax

Syntax:
unit addBackpack packClassName
Parameters:
unit: Object
packClassName: String
Return Value:
Nothing

Examples

Example 1:
this addBackpack "TK_RPG_Backpack_EP1";
Example 2:
_mySoldierDude addBackpack "US_Patrol_Pack_EP1";

Additional Information

See also:
removeBackpackunitBackpack

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