Page 1 of 1

[2.0.22] LuaPlayer open_map, zoom_to_world, close_map

Posted: Thu Nov 28, 2024 1:51 pm
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?