I tried using the stopHoleloop(); line when the pipe bomb spawns in, but that made the bots stop whatever they're doing for 1 second then head to the bomb. Which is weird and I'm wondering if it's possible to fix that, I'll record a video to show the problem.
%radius = 5000;
%searchMasks = $TypeMasks::PlayerObjectType;
InitContainerRadiusSearch(%pos, %radius, %searchMasks);
while ((%targetid = containerSearchNext()) != 0 )
{
if(%targetid.getClassName() $= "AIPlayer")
{
if(%targetid.hType $= "Zombie")
{
%targetid.setMoveObject(%this);
%targetid.setAimObject(%this);
%targetid.stopHoleLoop(0);
Still working on figuring out how to reactivate them with what you suggested.
You should keep it like that only have them look at the pipe bomb just to add exaggeration