Page MenuHomeFeedback Tracker

WeaponHolder_Single_limited_XXXXX_F is NOT limited
Assigned, WishlistPublic

Description

even if config says that it is

In fact you can put anything you want in such weaponholder which meant to be limited in numbers and type of things you can put in.

The only true about it is "Single" part as it will visually display only 1st item you put in.

Details

Legacy ID
841917650
Severity
None
Resolution
Open
Reproducibility
Always
Category
Engine
Steps To Reproduce

class WeaponHolder_Single_limited_weapon_F: WeaponHolder_Single_F
{
transportMaxItems = 0;
transportMaxMagazines = 0;
transportMaxWeapons = 1;
model = "\A3\Weapons_F_EPA\DummyWeapon_Single.p3d";
};

transportMaxWeapons = 1; ^^^^

create the weaponholder:

whslw = "WeaponHolder_Single_limited_weapon_F" createVehicle position player;
whslw addWeaponCargoGlobal [currentWeapon player, 1];

Now open it with inventory an put anything you want in it
Remove the gun you placed there initially
It now shows the second item you put in even if it is not a weapon.

Event Timeline

Killzone_Kid edited Additional Information. (Show Details)
Killzone_Kid set Category to Engine.
Killzone_Kid set Reproducibility to Always.
Killzone_Kid set Severity to None.
Killzone_Kid set Resolution to Open.
Killzone_Kid set Legacy ID to 841917650.May 7 2016, 6:00 PM
Bohemia added a subscriber: AD2001.Feb 19 2014, 7:39 PM
pettka added a subscriber: pettka.May 7 2016, 6:00 PM

Sir, it seems like this one is Your cup of tea, could You, please, take a look?