The command "currentZeroing" does not work properly for vehicles with guns that automatically adjust their zeroing based off of the laser rangefinder. When running currentZeroing on its gunner, it only returns the last manually selected discrete distance, not the actual laser based zeroing.
Description
Description
Details
Details
- Severity
- Minor
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- Scripting
Steps To Reproduce
- Spawn something like a AMV-7 Marshal and crew it as gunner
- Set the zeroing to something and run {currentZeroing player} and see that it is correct
- Laze something and run {currentZeroing player} again and see that it returns the same thing as before
Event Timeline
Comment Actions
Fixed in 2.20
Note that there is only one laser zeroing for the game.
So while that will work on player, it will not work on AI or other units in other vehicles.
Also generally the command does not work correctly for remote units (the wiki didn't mention that till now)