Env entity maker: Difference between revisions
Jump to navigation
Jump to search
m (→Keyvalues) |
m (→Flags) |
||
Line 10: | Line 10: | ||
==Flags== | ==Flags== | ||
*1: Enable AutoSpawn (will spawn whenever there's room) | *1 : Enable AutoSpawn (will spawn whenever there's room) | ||
*2: AutoSpawn: Wait for entity destruction | *2 : AutoSpawn: Wait for entity destruction | ||
*4: AutoSpawn: Even if the player is looking | *4 : AutoSpawn: Even if the player is looking | ||
*8: ForceSpawn: Only if there's room | *8 : ForceSpawn: Only if there's room | ||
*16: ForceSpawn: Only if the player isn't looking | *16 : ForceSpawn: Only if the player isn't looking | ||
==Inputs== | ==Inputs== |
Revision as of 06:11, 28 September 2005
Entity Description
Spawns the specified entity template at its origin. If set to auto-spawn, it will spawn the template whenever there's room and the player is looking elsewhere.
Keyvalues
- Template:Kv targetname
- Template:Kv parentname
- Template:Kv angles
- EntityTemplate <target_destination>
- Name of the point_template to spawn here.
Flags
- 1 : Enable AutoSpawn (will spawn whenever there's room)
- 2 : AutoSpawn: Wait for entity destruction
- 4 : AutoSpawn: Even if the player is looking
- 8 : ForceSpawn: Only if there's room
- 16 : ForceSpawn: Only if the player isn't looking
Inputs
- Template:I targetname
- Template:I parentname
- ForceSpawn
- Spawn an instance of the template at this origin and angle.
Outputs
- Template:O targetname
- OnEntitySpawned
- Fired when an instance of the entity template has been spawned.