Entities 2i4z3e

Entities are used in to specify player spawn locations or to add effects, doors, items and more to a map. 2b6r3j

Category: all (50) 1c3v6c

ID 31 - Env_NPC (NPC) 15403t

Info 46wr

Spawns an NPC at the position of the entity. Normally NPCs are spawned on start (after loading the map / on roundstart) automatically. They can also be spawned by triggering the entity.

Values / Properties 1k2v5s

The following values can be set in the entity properties menu of the map editor and can be read using the Lua command entity.

  • ints[0]=rotation
  • ints[1]=type (see editor list)
  • ints[2]=health
  • ints[3]=spawn on start (0=yes, 1=no)