Kuxynator's Populoutorium


A god-game inspired Factorio mod with divine control mechanics.

Overhaul
1 year, 26 days ago
2.0
293
Character

g Uninstallation

1 year, 16 days ago

Uninstallation = game.player.character=game.player.selected thats all :)
nothing special to iplemement here :)))

1 year, 16 days ago
(updated 1 year, 16 days ago)

this is not an universal solution
only works if you point to an unused character standing around

but maybe this:

game.player.set_controller{type=defines.controllers.character, character=game.player.surface.create_entity{name="character", position=game.player.position, force=game.player.force}}
1 year, 16 days ago

not best solution, my point is to take control on previously used character, instaead of creating new one

New response