attach your add_unit_server.. looks like your respawnTimer variable is localized instead of global..
In your add_unit_server it should be respawnTimer and not _respawnTimer
if you do what is in the first post of this thread with the zombie_generate file, they will fire on zombies, unless of course you don't have your AI set to attack mode. I don't know how to set them to attack mode from the editor though.
Attacking the zombies is part of the zombie_generate code. Make sure you put in the addRating command as described on the original post at the bottom of that file. Your last 2 spawns DO have their respawn time set to 28880 or whatever. Are you killing those mobs and then checking the log? Make...
Find this code..
// Extra actions for Taviana:
if (!isDedicated) then {
[] execVM "kh_actions.sqf";
zombie_generate = compile preprocessFileLineNumbers "scripts\zombie_generate.sqf";
// Extra actions for Taviana:
if (!isDedicated) then {
[] execVM "kh_actions.sqf";
}...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.