Just asking for advice on removal of Monster Mod monsters on round end in CS or CZ.
Here is what I'm thinking of using for removal:
Code:
new monster = -1
while ( (monster = engfunc(EngFunc_FindEntityByString, monster, "classname", "func_wall")) != 0 ) {
if ( pev(monster, pev_flags) & FL_MONSTER ) {
engfunc(EngFunc_RemoveEntity, monster)
}
}
a. are all monsters func_wall?
b. do all monsters have FL_MONSTER flag? do other fun_wall's have this flag? I only want to remove Monster Mod monsters not other things.
c. anything wrong with just removing the monsters? like do i need to kill it by settings it's health to 0 instead, or set FL_KILLME flag or something?