BIS fnc basicBackpack: Difference between revisions

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


| <pre>/*
|s1= backPackClassName call [[BIS_fnc_basicBackpack]]


Description:
|p1= [[String]] - backpack classname.
Return class of given backpack without a bakened-in equipment (an empty backpack).


Example:
|r1= [[String]] - returns classname of base backpack.
_class:string = _class:string call BIS_fnc_basicBackpack;
"b_assaultpack_rgr" = "b_assaultpack_rgr_medic" call BIS_fnc_basicBackpack;
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|x1= <sqf>baseBackpack = "b_assaultpack_rgr_medic" call BIS_fnc_basicBackpack; // returns "b_assaultpack_rgr", the base class</sqf>
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_basicBackpack]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|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 15: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