OnEvent() are declared with template. so, you have to specify your Event Class and SenseClass like below
Code:
UAIPerceptionSystem::OnEvent<FAITeamStimulusEvent,
...