Hello, I don't know if there is someone still checking this forum or not but...
I'm itterating through ObjectList (OT_MODEL) which returns ModelInstance for each object, Before there was a pointer for CharacterFx in modelinstance for each object but now i couldn't find it, so my question is: Is there is any other method to get ObjectType ? I'm trying to get AI objects only
OLD Classes:
Code:
enum eObjectType
{
PLAYER = 1,
WEAPON = 3,
GRENADE = 4,
ZOMBIE = 10,
MZ_GADGET = 23,
BR_WEAPON = 33
};
class AIClientObject {
public:
char pad0000[0x1CF88];
int64_t CNanoWeapon; //0x1CF88
char pad0001[0x3EC0];
int32_t MaxHealth; //0x20E50
int32_t Health; //0x20E54
};
class Unk1
{
public:
eObjectType Type;
char pad0000[0x4];
AIClientObject* Obj;
};
Unk1 was at 0x320 inside ModelInstance