The function https://community.bistudio.com/wiki/setAmmoOnPylon is supposed to accept
[pylon name/index, ammo count]
but only accepts
[pylon index, ammo count]
Description
Description
Details
Details
- Severity
- Tweak
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Operating System Version
- Version 10.0.16299.431
- Category
- Scripting
Steps To Reproduce
Get into a Jet (O_Plane_CAS_02_dynamicLoadout_F)
run: (vehicle player) setAmmoOnPylon ["Pylons1", 0];
error --> Error Type String, expected number
(vehicle player) setAmmoOnPylon [1, 0]; is working an intended