AI not shooting zombies

Asono

New Member
we have the DZAI_zombieEnemy = true; but they don't shoot at them.. I am thinking it might have something to do with our AI Missions that has to have Factions.sqf loaded ( settings below )


waitUntil{initialized};
//Only create these if they aren't already
createCenter east;
createCenter resistance;
//Survivors
WEST setFriend [RESISTANCE,0];
WEST setFriend [EAST,0];
//AI Units
EAST setFriend [RESISTANCE,0];
EAST setFriend [WEST,0];
EAST setFriend [CIVILIAN,0];//AI Units attack zeds
CIVILIAN setFriend [EAST,0];//Zeds attack AI units
//Unused
RESISTANCE setFriend [WEST,0];
RESISTANCE setFriend [EAST,0];
 
The DZAI instructions explicitly state not to include the factions.sqf.

The AI are rather strange in how they detect zombies. Sometimes they are extremely alert and mow down every zombie they see, other times they're completely unaware of the zombie right beside them. I've already added a bit of code to reveal every zombie marked as enemy to the AI so it is likely something beyond my control that's causing AI to sometimes ignore zombies, some sort of server-client desync probably.

You should be able to see at least some zombies being shot by AI however.
 
Back
Top