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
10 months ago
0.17 - 2.0
6.62K
Cheats

g ediitor nill

11 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?

11 months ago
(updated 11 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})

11 months ago
(updated 11 months ago)

Thank you alot! It works!

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

11 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})

11 months ago
(updated 11 months ago)

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

11 months ago
(updated 11 months ago)

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

7 days ago

I've lost my character's body, is there a way to find it quickly?)

7 days ago

Only if you know what you did to lose it.

Like if you deleted it, its gone. If you switched controllers, its still somewhere, ...

You can try to do a find entity in area and loop over everything and if its your body print its location.

New response