Someone's LUA-Console


Run lua commands without losing achievements. Now remembers input-script. "game.player" works. By default opens with CONTROL + RIGHTBRACKET. Execute last input-script with CONTROL + ENTER.

Utilities
27 days ago
0.17 - 2.0
5.26K
Cheats

g ediitor nill

2 months ago

When I try activate map editor, game writes "nil" and doesn't run editors mode
Is it possible to run editor with this console?

2 months ago
(updated 2 months ago)

This is a LUA console and NOT the ingame console.

Its basically executing what you type after /c in the ingame console.

But it actually is possible to change the controller to editor, just not by typing /editor.

try:

game.player.set_controller({type=defines.controllers.editor})

2 months ago
(updated 2 months ago)

Thank you alot! It works!

But how to close editor? :)
Executing command again dosen't close editor

2 months ago

Start by setting yourself to the god controller:

game.player.set_controller({type=defines.controllers.god})

Then mouse-over your body and:

game.player.set_controller({type=defines.controllers.character, character=game.player.selected})

2 months ago
(updated 2 months ago)

A very non-obvious solution for me :)
Thank you for your help!

2 months ago
(updated 2 months ago)

Yeah, its more of a tool for modders (and server admins).

New response