In the behaviors files (game/scripts/AI/Behaviors/PErsonalities)
You can add this line to where you suite it best.
local target = AI.GetTargetType(entity.id);
--Rad15 02:52, 2 July 2008 (CEST)
Category: AI