Author Topic: Bots Helping Eachother out  (Read 752 times)

Hey, I am making a store on one of my maps, and i want to make it so the gaurd bot will attack whoever attacks the store clerk bot. Is there a way to do this? I tried messing around with team names and that didnt do anything. Is there a way to do this? Please show an example, thanks.

*ALSO* I have noticed that even though bots are on the same team, if they accidently hit each other they will kill each other. Is there a way to make them friends forever so no mater what they dont attack each other?.

*ALSO* I have noticed that even though bots are on the same team, if they accidently hit each other they will kill each other. Is there a way to make them friends forever so no mater what they dont attack each other?.

Dont use claw damage use weapons it's much easier.
Well, and safer ;)

Lol i dont use claw damage in the first place because i dont know what it means XD. I do use normal weps but they sometimes do hit each other and then they decide to fight each other insted of the person they should fight. BTW what is claw damage?

Lol i dont use claw damage in the first place because i dont know what it means XD. I do use normal weps but they sometimes do hit each other and then they decide to fight each other insted of the person they should fight. BTW what is claw damage?

You had the right idea with using teams. Set both bots on the same steam name.
When the clerk is hit, the guard bot will attack the opposite team (who ever the attacker is)
Or if it attacks a player you can do that too.

You could also use the disable damage event this way the clerk bot cant die plain and simple.
Or any bot for that matter

but when i shoot the clerk bot, the gaurd bot does nothing
and what is claw damage?

but when i shoot the clerk bot, the gaurd bot does nothing
and what is claw damage?
onbotkilled>setnamebrick>name of guards brick>setbotpropertys>agressive. 
Onbotkill>bot>set bot movement > return to spawn