0.74B1 groupai crash help
Moderators: hoijui, Moderators
0.74B1 groupai crash help
i been working to get my groupai to compile for 74b1, i finnaly got it to compile, but it crashes once its loaded into the game, when it debugs, it shows it crashing when its trying to access the AI callback pointer, any ideas?
thats just the thing, the lines its crashing on, or so the debugger says, are the same as any other ai code
the debugger says it crashes on
Code: Select all
void CGroupAI::InitAi(IGroupAICallback* callback)
{
this->callback=callback;
aicb=callback->GetAICallback();
commands.clear();
CommandDescription cd;
mode = on;
srand(aicb->GetCurrentFrame());
}
Code: Select all
this->callback=callback;
aicb=callback->GetAICallback();