Page 1 of 1
[15.10] Script-created ghosts immediately expire
Posted: Fri May 12, 2017 11:24 am
by Earendel
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.
Re: [15.10] Script-created ghosts immediately expire
Posted: Fri May 12, 2017 11:41 am
by gheift
I experienced the same problem in the past:
viewtopic.php?f=25&t=37619
Re: [15.10] Script-created ghosts immediately expire
Posted: Fri May 12, 2017 3:03 pm
by kovarex
The default ghost lifetime is 0.
Re: [15.10] Script-created ghosts immediately expire
Posted: Fri May 12, 2017 5:23 pm
by Earendel
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).