BIS fnc basicBackpack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Added params, syntax, examples.)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
| Determines basic backpack with no equipment present (ie empty). |= Description
 
Description:
Return class of given backpack without a bakened-in equipment (an empty backpack).
 
Example:
_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
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_basicBackpack]]; --> |= Syntax
| ["backPackClassName"] call '''BIS_fnc_basicBackpack'''; |= Syntax


|p1= |= Parameter 1
|p1= [[String]] - Backpack classname. |= Parameter 1


| |= Return value
| [[String]] - Returns classname of base backpack. |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>baseBackpack = ["b_assaultpack_rgr_medic"] call BIS_fnc_basicBackpack; // Returns "b_assaultpack_rgr", the base class. </code> |=  
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 20:41, 29 September 2014


Hover & click on the images for description

Description

Description:
Determines basic backpack with no equipment present (ie empty).
Execution:
call
Groups:
Uncategorised

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

Notes

Bottom Section