Author Topic: Bots open doors.  (Read 1403 times)

I was wondering if there was a way to make bots not open doors, because I want to make a Zombie Survival, and the zombies open the doors. I tried removing all of my Bot addons, and I don't really know what else to try.

onBotSpawn > Bot > SetIdleBehavior > Spam_Off

and

onBotSpawn > Bot >SetIdleBehavior > Anim_Off

makes it so that hole bots do not click objects

onBotSpawn > Bot > SetIdleBehavior > Spam_Off

and

onBotSpawn > Bot >SetIdleBehavior > Anim_Off

makes it so that hole bots do not click objects


I tried this, and it didn't seem to work.

Well, you could do onBotTouch > Bot > door > Close on all the doors that you're using

Well, you could do onBotTouch > Bot > door > Close on all the doors that you're using

But then the doors would spam open/close when a bot reaches them, and sometimes they would get in anyway, or get stuck.

We'd have to remove all parts of the code which involve bots using ActivateStuff. I searched but I can't find those parts. They must be in Bot_Hole, as all bots appear to open doors.

I think that it was just the Hole bots that opened the doors, because I tried using ZAPT, and I put the same events on the spawn brick, and so far it seems to work.

when you are being hunted by bots but they can't reach you they tend to spam click

maybe you can try using the events

OnPlayerTouch > Self > door > Open
OnActivate > Self > door > Close

if players (not bots) touch the door it opens but you have to click it to close it