ModelInstance / LTObject / hObj
Has anyone encountered missing LTObjects in ZA Zombies? It's kinda irritating that there are zombies I can't draw.
I'm using ObjMgr to get LTObjects of zombies in ZA mode but there are zombies that I can't draw (usually 2 or more).
I tried to use GetLTObjectFn(objmgr, index) but still, same results.
I also tried to remove all the filters such as objectType == zombie, isdead but there are still missing objects.
//UPDATE
I found out that those za zombies I can't draw doesn't have objectFX/CharFX/CharHitbox causing the loop to skip because the return is 0 and does not match with objecttype zombie.
any other way to tell if the LTObject is for za zombie (or at least can receive damage) without reaching objectType?
I'm using ObjMgr to get LTObjects of zombies in ZA mode but there are zombies that I can't draw (usually 2 or more).
I tried to use GetLTObjectFn(objmgr, index) but still, same results.
I also tried to remove all the filters such as objectType == zombie, isdead but there are still missing objects.
//UPDATE
I found out that those za zombies I can't draw doesn't have objectFX/CharFX/CharHitbox causing the loop to skip because the return is 0 and does not match with objecttype zombie.
any other way to tell if the LTObject is for za zombie (or at least can receive damage) without reaching objectType?


