The transportSoldier config value now only returns the number of soldiers for "cargo-only" seats but not the "cargo-turret" hybrids for ffv. For example the FIA truck only has a transportSoldier value of 2.
Description
Description
Details
Details
- Legacy ID
- 2520934239
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Config
Steps To Reproduce
- Place any vehicle allowing firing-from-vehicle and name it.
- In the debug console check
getNumber(configfile >> "CfgVehicles" >> typeof (vehicleName) >> "transportSoldier");
- Note how the returned number only reflects the non-ffv seats.
Additional Information
Compare it to outputs of
(vehicleName emptyPositions "cargo") - returns the number of both cargo-only and cargo-turret-hybrids fine.
count ((vehicleName player) call BIS_fnc_getTurrets) - returns all turrets, incl. the ffv-turrets