Hopefully this is a quick question. While working on some NPC logic, I noticed that entities (npcs) once dead are marked as dead and disposed but do not get wiped from memory.. am I seeing this wrong? I had a npc hell bent on killing an invisible entity that was already dead, and looks to be that the dead logic was still running after doing a console print check. If that is the case, how long do those objects remain around? Is there a garbage collector or some script somewhere that cleans up dead / disposed entities on the server, or am I missing something?
Question
Lathander
Hopefully this is a quick question. While working on some NPC logic, I noticed that entities (npcs) once dead are marked as dead and disposed but do not get wiped from memory.. am I seeing this wrong? I had a npc hell bent on killing an invisible entity that was already dead, and looks to be that the dead logic was still running after doing a console print check. If that is the case, how long do those objects remain around? Is there a garbage collector or some script somewhere that cleans up dead / disposed entities on the server, or am I missing something?
Â
Thanks.
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now