Hi! Could you please show what agent_force_rethink does exactly?
Code:
case agent_force_rethink:
if (mbCheckAgent(intValues[0]))
{
mbAgent *agent = g_mission->getAgent(intValues[0]);
if (agent->isBot())
{
agent->m_ai.m_lookTargetAgentNo = -1;
agent->m_ai.m_behaviorTimer.decrease(10000.0f);
agent->m_ai.m_movementTimer.decrease(10000.0f);
agent->m_ai.m_actionTimer.decrease(10000.0f);
}
}
break;