If using surface.create_entity to create a ghost it will immediately expire unless 'expires' is set to false (i.e. it is made permanent).
Expected behaviour is the new ghost would expire after the default ghost lifetime.
[15.10] Script-created ghosts immediately expire
Re: [15.10] Script-created ghosts immediately expire
I experienced the same problem in the past: viewtopic.php?f=25&t=37619
Re: [15.10] Script-created ghosts immediately expire
The default ghost lifetime is 0.
Re: [15.10] Script-created ghosts immediately expire
Previously is you created a ghost with this method it would last for more than 0 seconds.
By default ghost lifetime, I mean the lifetime that a ghost would typically last if created by the player or a blueprint (or permanent if they are now permanent).
By default ghost lifetime, I mean the lifetime that a ghost would typically last if created by the player or a blueprint (or permanent if they are now permanent).