Locking script only applied to vehicles with a driver / co-pilot position -- StaticWeapon objects don't have a driver or a co-pilot.
With vanilla config settings, this should only affect the locking of the m101 assets for ACAV
//Howitzer
class vn_b_army_static_m101_02 : acav {};
class vn_b_sf_static_m101_02 : acav {};
Allows server owners to include any static weapon in the vehicle locking config.
Note -- may well be possible to go through the same config lookup as the existing isCopilot check but for isGunner instead, but I went with the simple, happy path route.
Locking script only applied to vehicles with a driver / co-pilot position -- StaticWeapon objects don't have a driver or a co-pilot.
With vanilla config settings, this should only affect the locking of the
m101
assets for ACAVAllows server owners to include any static weapon in the vehicle locking config.
Note -- may well be possible to go through the same config lookup as the existing
isCopilot
check but forisGunner
instead, but I went with the simple, happy path route.