BIS fnc basicBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^<]*)\{\{cc\|([^{}]+)\}\} *<\/code>" to "<code>$1// $2</code>")
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
Line 14: Line 14:
|r1= [[String]] - Returns classname of base backpack.
|r1= [[String]] - Returns classname of base backpack.


|x1= <code>baseBackpack = "b_assaultpack_rgr_medic" call BIS_fnc_basicBackpack; // returns "b_assaultpack_rgr", the base class</code>
|x1= <sqf>baseBackpack = "b_assaultpack_rgr_medic" call BIS_fnc_basicBackpack; // returns "b_assaultpack_rgr", the base class</sqf>


|seealso=
|seealso=
}}
}}

Revision as of 22:44, 12 July 2022

Hover & click on the images for description

Description

Description:
Determines basic backpack with no equipment present (ie empty).
Execution:
call
Groups:
Inventory

Syntax

Syntax:
backPackClassName call BIS_fnc_basicBackpack
Parameters:
String - Backpack classname.
Return Value:
String - Returns classname of base backpack.

Examples

Example 1:
baseBackpack = "b_assaultpack_rgr_medic" call BIS_fnc_basicBackpack; // returns "b_assaultpack_rgr", the base class

Additional Information

See also:
See also needed

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