setVehicleAmmoDef removes weapons and ammo from passenger.
Description
Description
Details
Details
- Severity
- Minor
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- Scripting
Steps To Reproduce
- Place a vehicle in editor (which has some extra empty place for you to sit in),
- Place a playable unit
- Start mission
- Get in vehicle
- Run the following code "vehicle player setVehicleAmmoDef 1"
- check your hands, they are empty
Additional Information
When placeing a car with default units inside, making one of them playable and running this code doesnt seem to remove the weapons/ammo.