BIS fnc basicBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |r1=[[" to " |r1= [[")
m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>")
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]]; {{cc|returns "b_assaultpack_rgr", the base class}}</code>
|x1= <code>baseBackpack = "b_assaultpack_rgr_medic" call [[BIS_fnc_basicBackpack]]; {{cc|returns "b_assaultpack_rgr", the base class}}</code>


|seealso=
|seealso=
}}
}}

Revision as of 21:36, 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