How to access ghost entity
-
- Fast Inserter
- Posts: 155
- Joined: Sun Dec 18, 2016 3:02 pm
- Contact:
How to access ghost entity
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
The ghost doesn't exist at the point in time when the event is fired. It's created after.
If you want to get ahold of me I'm almost always on Discord.
-
- Fast Inserter
- Posts: 155
- Joined: Sun Dec 18, 2016 3:02 pm
- Contact:
Re: How to access ghost entity
So which event is responsible for the ghost creation?
Re: How to access ghost entity
There is no event for the creation of a ghost from an entity that died.evildogbot100 wrote:So which event is responsible for the ghost creation?
If you want to get ahold of me I'm almost always on Discord.
-
- Fast Inserter
- Posts: 155
- Joined: Sun Dec 18, 2016 3:02 pm
- Contact:
Re: How to access ghost entity
Add that for 0.16?