Page 1 of 1

How to access ghost entity

Posted: Sun Nov 26, 2017 4:32 am
by evildogbot100
When an entity died, it creates a ghost assuming you have sufficient research. But there is no ghost attribute in on_entity_died event. Is there a way to access that ghost?

Re: How to access ghost entity

Posted: Sun Nov 26, 2017 4:33 am
by Rseding91
The ghost doesn't exist at the point in time when the event is fired. It's created after.

Re: How to access ghost entity

Posted: Sun Nov 26, 2017 4:42 am
by evildogbot100
So which event is responsible for the ghost creation?

Re: How to access ghost entity

Posted: Sun Nov 26, 2017 5:18 am
by Rseding91
evildogbot100 wrote:So which event is responsible for the ghost creation?
There is no event for the creation of a ghost from an entity that died.

Re: How to access ghost entity

Posted: Sun Nov 26, 2017 6:47 am
by evildogbot100
Add that for 0.16?