Page MenuHomeFeedback Tracker

transportSoldier values are off for Firing-from-Vehicle enabled vehicles
New, WishlistPublic

Description

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.

Details

Legacy ID
2520934239
Severity
None
Resolution
Open
Reproducibility
Always
Category
Config
Steps To Reproduce
  1. Place any vehicle allowing firing-from-vehicle and name it.
  2. In the debug console check

getNumber(configfile >> "CfgVehicles" >> typeof (vehicleName) >> "transportSoldier");

  1. 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

Event Timeline

wolfenswan edited Additional Information. (Show Details)
wolfenswan set Category to Config.
wolfenswan set Reproducibility to Always.
wolfenswan set Severity to None.
wolfenswan set Resolution to Open.
wolfenswan set Legacy ID to 2520934239.May 7 2016, 7:47 PM