BIS fnc basicBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *B([a-z])" to "$1 - b$2")
Line 10: Line 10:
|s1= backPackClassName call [[BIS_fnc_basicBackpack]]
|s1= backPackClassName call [[BIS_fnc_basicBackpack]]


|p1= [[String]] - Backpack classname.
|p1= [[String]] - backpack classname.


|r1= [[String]] - Returns classname of base backpack.
|r1= [[String]] - Returns classname of base backpack.

Revision as of 13:43, 8 November 2023

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