10 void BotTimedWait (
Bot bot = NULL, BotStateBase parent = NULL,
float timeout = 3.0)
17 m_dtAccumulator = 0.0;
24 m_dtAccumulator = 0.0;
33 m_dtAccumulator += dt;
36 if (m_dtAccumulator >= rescanTime)
41 m_dtAccumulator = 0.0;
43 m_dtAccumulator = -1.0;
49 botDebugSpam(
"[bot] + " + m_Owner +
" BotTimedWait::OnTimeout");
void botDebugSpam(string s)
override void OnTimeout()
represents event that triggers transition from state to state
represent weapon state base
void BotTimedWait(Bot bot=NULL, BotStateBase parent=NULL, float timeout=3.0)
override void OnUpdate(float dt)
override void OnEntry(BotEventBase e)
override void OnExit(BotEventBase e)
class WeaponFireWithEject extends WeaponFire m_dtAccumulator