completed list of roughly ported over scripthooks.

todo: need to figure out why followobject is only hitting the first path node. likely  amixup with goal handling
This commit is contained in:
AzaezelX 2025-04-17 01:27:08 -05:00
parent e37ae27bc0
commit 4fb92f02a3
16 changed files with 386 additions and 40 deletions

View file

@ -2259,14 +2259,14 @@ void Player::advanceTime(F32 dt)
}
}
bool Player::setAIController(S32 controller)
bool Player::setAIController(SimObjectId controller)
{
if (Sim::findObject(controller, mAIController))
{
mAIController->setAIInfo(this);
return true;
}
Con::errorf("unable to find AIController : %i", controller);
mAIController = NULL;
return false;
}