Newbie Spellweaver
- Joined
- Feb 28, 2016
- Messages
- 41
- Reaction score
- 4
Hello Ragezone,
Hopefully someone here has installed the animal system and has it working. I have worked it to the point i have one error. Any help would be greatly appreciated.
Here is the error I have.
error C2664: 'CreateZombieNavAgent' : cannot convert parameter 1 from 'obj_Animal *const ' to 'obj_Zombie *'
This is what I have for the code:
void obj_Animal::CreateNavAgent(){ r3d_assert(!navAgent); // there is no checks here, they should be done in ZombieSpawn, so pos is navmesh position r3dPoint3D pos = GetPosition(); navAgent = CreateZombieNavAgent(this); //AILog(3, "created at %f %f %f\n", GetPosition().x, GetPosition().y, GetPosition().z); return;}
I was really hoping that someone could help me or point me in the right direction, But I think all the real coders left this forum along time ago.
Hopefully someone here has installed the animal system and has it working. I have worked it to the point i have one error. Any help would be greatly appreciated.
Here is the error I have.
error C2664: 'CreateZombieNavAgent' : cannot convert parameter 1 from 'obj_Animal *const ' to 'obj_Zombie *'
This is what I have for the code:
void obj_Animal::CreateNavAgent(){ r3d_assert(!navAgent); // there is no checks here, they should be done in ZombieSpawn, so pos is navmesh position r3dPoint3D pos = GetPosition(); navAgent = CreateZombieNavAgent(this); //AILog(3, "created at %f %f %f\n", GetPosition().x, GetPosition().y, GetPosition().z); return;}
I was really hoping that someone could help me or point me in the right direction, But I think all the real coders left this forum along time ago.
Last edited: