currentMuzzle returns 0 when used on vehicles.
Same happens with currentWeaponMode. Additionally they return 0 when used with objNull.
Description
Description
Details
Details
- Legacy ID
- 3075528117
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
- get inside a vehicle
- put "currentMuzzle cameraOn" into the debug console
-> returns 0 instead of "" or any other string
currentMuzzle objNull
-> 0
currentWeaponMode objNull
-> 0
Additional Information
Even though the command is not meant to work on vehicles, it should at least return the correct data type instead ("" instead of 0). Would be nice if it worked with vehicles though.
Event Timeline
Comment Actions
I noticed that the same happens with currentWeaponMode and edited the issue title and description.