Hi, i wasnt there for few patched, now i got bugreporth about player.zoom so i was looking for api changes on forum and only thing i found was https://forums.factorio.com/forum/vie ... layer+zoom
Does that mean there is no longer any way to control player zoom? (setting min max zoom)
I am in my mod using god mode with zoom limitation for speed. So if there is some workaround please tell me, otherwise i will remove zoom control :/
player.zoom
Re: player.zoom
You can set the zoom level but you can't read it.
If you want to get ahold of me I'm almost always on Discord.
Re: player.zoom
I dont understand, Is player.zoom variable still availabel but write only (wtf) or is there some new function like setZoom ( maybe even getZoom? )
Re: player.zoom
Code: Select all
game.player.zoom = 0.1 -- valid
Code: Select all
game.player.print(game.player.zoom) -- invalid
The zoom level is part of the GUI and as such is not serialized or saved. That means it's not determistic. If you set zoom = 0.1, save and reload the game it will not be at 0.1.
If you want to get ahold of me I'm almost always on Discord.
Re: player.zoom
ok thank you
Re: player.zoom
there should be a way to make it readable.
would be a helpful api with many use cases (mainly workarounds for other things that don't work)
would be a helpful api with many use cases (mainly workarounds for other things that don't work)
mods.factorio.com/user/ownlyme
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance
My requests: uiAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance