[2.0.22] LuaPlayer open_map, zoom_to_world, close_map

Place to report issues and suggest improvements to the API documentation.
StephenB
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Jul 19, 2024 10:12 am
Contact:

[2.0.22] LuaPlayer open_map, zoom_to_world, close_map

Post by StephenB »

See here: https://lua-api.factorio.com/latest/cla ... ender_mode

The description tells me to use LuaPlayer::open_map, LuaPlayer::zoom_to_world and LuaPlayer::close_map. When I try to call those in my control.lua I get an error saying LuaPlayer does not contain those keys.

Seems LuaPlayer::set_controller is meant to be a replacement for this maybe?
Post Reply

Return to “Documentation Improvement Requests”