I will be doing testing but until then, if anyone want to critic this code segment, its what determines if zombies should set their interest in the mainframe and not players.
for(k=0;k<level.in_pap_room_trig.size;k++) { if(players[i] isTouching(level.in_pap_room_trig[k])) //is player in PAP basement? players[i].is_in_pap = true; //player is in PAP basement }
if(players[i].is_in_pap == true || players[i] in_revive_trigger() || (isDefined(players[i].being_revived) && players[i].being_revived) || !isalive(players[i])) //other reasons zombie should go to mainframe level.numNotOfInterest++;
if(level.numNotOfInterest == players.size) //if no one is of interest, send zombies to mainframe, otherwise chase who is left return true; else return false;
did you make a pap zone? Post Merge: March 24, 2014, 06:05:57 pmit works perfect in solo, but in coop when people can die/ be downed, I came to realize I have to account for that