3 void spawner_use(entity this, entity actor, entity trigger)
6 IL_EACH(g_monsters, it.realowner == this,
11 if(moncount >= this.count)
15 e.noalign = this.noalign;
16 e.angles = this.angles;
17 e.monster_skill = this.monster_skill;
18 e = spawnmonster(e, this.spawnmob, 0, this, this, this.origin, false, true, this.monster_moveflags);
21 spawnfunc(monster_spawner)
23 if(!autocvar_g_monsters || !this.spawnmob || this.spawnmob == "") { delete(this); return; }
25 this.use = spawner_use;