Nuclide
Software Development Kit for id Tech
monstermaker.qc File Reference

Classes

class  monstermaker
 

Variables

 enumflags
 

Variable Documentation

◆ enumflags

enumflags
Initial value:
{
MMF_STARTON,
MMF_UNUSED1,
MMF_NONTOGGLE,
MMF_MONSTERCLIP
}

QUAKED monstermaker (1 0 0) (-8 -8 -8) (8 8 8) MMF_STARTON x MMF_NONTOGGLE MMF_MONSTERCLIP

OVERVIEW

The monster maker is the end-all solution to timed/controlled spawning of monster entities.

KEYS

  • "targetname" : Name
  • "target" : Target when triggered.
  • "killtarget" : Target to kill when triggered.
  • "monstertype" : Type of monster to spawn, represents their entity classname.
  • "monstercount" : Maximum amount of monsters you want spawned in total.
  • "delay" : Delay between spawns in seconds.
  • "child_name" : Applies this as a 'targetname' to spawned monsters.
  • "child_alivemax" : Maximum amount of spawned monsters that are alive at a time.

SPAWNFLAGS

  • MMF_STARTON (1) : Start on automatically.
  • MMF_NONTOGGLE (2) : Spawn only one monster with each trigger.
  • MMF_MONSTERCLIP (4) : Spawned monsters will be blocked by func_monsterclip entities.

TRIVIA

This entity was introduced in Half-Life (1998).