Is it possible to deactivate player-port?

Place to get help with not working mods / modding interface.
Post Reply
User avatar
WIZ4
Fast Inserter
Fast Inserter
Posts: 209
Joined: Thu Apr 07, 2016 1:36 pm
Contact:

Is it possible to deactivate player-port?

Post by WIZ4 »

Hi! I want to use the player-port for my purposes, but I'm really hampered by the fact that he is respawned my player.
Is it possible to somehow disable this function using scripting and use the port as a
ordinary object?
I tried entity.active choose false. But it did not work.
Transferring an player-port to another force also does not suit me.
Scre4enshot_2.jpg
Scre4enshot_2.jpg (64.91 KiB) Viewed 974 times
My native language is russian. Sorry if my messages are difficult to read.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Is it possible to deactivate player-port?

Post by Rseding91 »

No. The entire point of the player port is to respawn players.
If you want to get ahold of me I'm almost always on Discord.

Bilka
Factorio Staff
Factorio Staff
Posts: 3130
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Is it possible to deactivate player-port?

Post by Bilka »

WIZ4 wrote:
Thu Sep 20, 2018 10:03 pm
Hi! I want to use the player-port for my purposes, but I'm really hampered by the fact that he is respawned my player.
Is it possible to somehow disable this function using scripting and use the port as a
ordinary object?
If you need a generic entity, use a generic entity like simple-entity.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Post Reply

Return to “Modding help”