I lost Player in MapEditor

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
KN5
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat May 07, 2016 10:49 pm
Contact:

I lost Player in MapEditor

Post by KN5 »

I delete player in MapEditor.
Not be able to place the player again?

Now Can't play Scenario becouse Not player entities ~ error.

How do I deal this case?
User avatar
Kayanor
Global Moderator
Global Moderator
Posts: 566
Joined: Sat May 10, 2014 7:20 am
Contact:

Re: I lost Player in MapEditor

Post by Kayanor »

As far as I know you only have to place that red flag somewhere, the player entity will spwan there.
Former moderator
KN5
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat May 07, 2016 10:49 pm
Contact:

Re: I lost Player in MapEditor

Post by KN5 »

Thanks Reply.
I try Replace Red flag somewhere in MapEditor.
But not Respawn Player entity that place.

1.Open the savedate(It has lost player entity date)in MapEditor.
2.Select a RedFlag and replace somewher use the Right click.
3.SAVE the game.
4.Start Custom scenario for save the 3. (↑)
5.No one there.

I wrong use of the Red Flag ?
User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: I lost Player in MapEditor

Post by prg »

Start the game and try

Code: Select all

/c game.local_player.character=game.local_player.surface.create_entity{position=game.local_player.surface.find_non_colliding_position("player", {0,0}, 0, .1), name="player", force=game.local_player.force}
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
Post Reply

Return to “Gameplay Help”