void TriggerHealthGiver::actIfOverlap(AbstCharacter* bot)
{
	if (isActive() && isTouchingTrigger(bot->getPos(), bot->getBRadius()))
	{
		//put event in here

		deactivate();
	}
}
//------------------------------ Try ------------------------------------------
//
//  when triggered this trigger adds the bot that made the source of the sound 
//  to the triggering bot's perception.
//-----------------------------------------------------------------------------
void Trigger_SoundNotify::Try(AbstRaven_Bot* pBot)
{
  //is this bot within range of this sound
  if (isTouchingTrigger(pBot->Pos(), pBot->BRadius()))
  {
    Dispatcher->DispatchMsg(SEND_MSG_IMMEDIATELY,
                            SENDER_ID_IRRELEVANT,
                            pBot->ID(),
                            Msg_GunshotSound,
                            m_pSoundSource);
  }   
}