player.zoom w > rw?
Posted: Sun Apr 02, 2017 8:30 pm
player.zoom is not readable only writable.
Could you make it both: rw ?
Could you make it both: rw ?
I don't think this has changed since then.Rseding91 wrote:player.zoom is a visual property and isn't saved in the game state. It was readable in the past and that was removed because it breaks multiplayer instantly if read.
Correct. Additionally I can't think of any reason you'd ever want to read the zoom value.daniel34 wrote:viewtopic.php?f=28&t=15361I don't think this has changed since then.Rseding91 wrote:player.zoom is a visual property and isn't saved in the game state. It was readable in the past and that was removed because it breaks multiplayer instantly if read.
So you could implement a "jump" zoom mechanism, read the current value, add 0.5 to it, write to it. Then you could press +\- and zoom in and out in your preferred increments.Rseding91 wrote:Additionally I can't think of any reason you'd ever want to read the zoom value.