10:48:01 Error in expression <put = _this;_output = "";
if (_input == "") exitWith {[] call
BIS_fnc_basicBa>10:48:01 Error position: <== "") exitWith
{[] call BIS_fnc_basicBa>10:48:01 Error ==: Type Array,
expected Number,String,Not a Number,Object,Side,Group,Text,Config entry,Display
(dialog),Control,Network Object,Team member,Task,Location10:48:01 File
A3\functions_f\inventory\fn_basicBackpack.sqf, line 205 {F27208}
Description
Description
Details
Details
- Legacy ID
- 163024250
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Error Message
Steps To Reproduce
baseBackpack = ["b_assaultpack_rgr_medic"] call BIS_fnc_basicBackpack;
Event Timeline
Comment Actions
And why are you passing Array to the function when example in the function header clearly shows it should be string?
baseBackpack = "b_assaultpack_rgr_medic" call BIS_fnc_basicBackpack;
This works ^^^^^^^
Comment Actions
The description says is can be called like this:
["backPackClassName"] call BIS_fnc_basicBackpack;
But it only works like this:
"backPackClassName" call BIS_fnc_basicBackpack;
So I guess they should simply change the description.
Comment Actions
Yeah someone changed correct example on BIKI to the wrong one (I already changed it back). The ingame function header was always showing the correct example.
Comment Actions
Hiya Killzone - thank you mate, yeah - got it from the BIKI description! Silly me! Cheers!
Well spotted, R3VO - that was where the problem was!