BIS fnc basicBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *R([a-z ])" to "$1 - r$2")
 
(35 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Inventory


|1.00|= Game version
|descr= Determines basic backpack with no equipment present (ie empty).
____________________________________________________________________________________________


| Determines basic backpack with no equipment present (ie empty). |DESCRIPTION=
|s1= backPackClassName call [[BIS_fnc_basicBackpack]]
____________________________________________________________________________________________


| backPackClassName call '''BIS_fnc_basicBackpack'''; |SYNTAX=
|p1= [[String]] - backpack classname.


|p1= [[String]] - Backpack classname. |= Parameter 1
|r1= [[String]] - returns classname of base backpack.


| [[String]] - Returns classname of base backpack. |RETURNVALUE=
|x1= <sqf>baseBackpack = "b_assaultpack_rgr_medic" call BIS_fnc_basicBackpack; // returns "b_assaultpack_rgr", the base class</sqf>
____________________________________________________________________________________________
 
|x1= <code>baseBackpack = "b_assaultpack_rgr_medic" call BIS_fnc_basicBackpack; // Returns "b_assaultpack_rgr", the base class. </code> |=
____________________________________________________________________________________________
 
| |SEEALSO=


|seealso=
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Inventory|{{uc:basicBackpack}}]]
[[Category:Functions|{{uc:basicBackpack}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:basicBackpack}}]]

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