inline EventDesiredResult<CTFBot> CTFBotRocketJump_Wait::OnActorEmoted(CTFBot *actor, CBaseCombatCharacter *who, int concept) { CTFPlayer *player = ToTFPlayer(who); if (player != nullptr && !player->IsBot() && concept == MP_CONCEPT_PLAYER_GO) { if (!this->m_ctRespond.HasStarted()) { this->m_ctRespond.Start(0.6f); } // actor->SpeakConceptIfAllowed(MP_CONCEPT_PLAYER_YES); // return EventDesiredResult<CTFBot>::SuspendFor(new CTFBotRocketJump_JumpVertical(), "Doing a vertical jump"); } return EventDesiredResult<CTFBot>::Continue(); }