BIS fnc basicBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s1= +" to "|s1= ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2")
 
(6 intermediate revisions by the same user not shown)
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.


|x1= <code>baseBackpack = "b_assaultpack_rgr_medic" [[call]] [[BIS_fnc_basicBackpack]]; {{cc|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=
}}
}}

Latest revision as of 16:47, 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