spawn
This is a console command, present on Quake, DOOM 3, DOOM 3 BFG, Quake 4 and Prey. Below you can find its usage and flags for each engine that declares it.
Quake
| Property |
Value |
| Type |
console command |
DOOM 3 (console command)
spawns a game entity
Usage
usage: spawn classname [key/value pairs]
| Property |
Value |
| Type |
console command |
| Flags |
CMD_FL_GAME | CMD_FL_CHEAT |
DOOM 3 (script event)
Creates an entity of the specified classname and returns a reference to the entity.
| Property |
Value |
| Type |
script event |
| Returns |
entity |
| Parameters |
string classname |
| Section |
system events (called via 'sys.') |
DOOM 3 BFG
spawns a game entity
Usage
usage: spawn classname [key/value pairs]
| Property |
Value |
| Type |
console command |
| Flags |
CMD_FL_GAME | CMD_FL_CHEAT |
Quake 4 (console command)
spawns a game entity
Usage
usage: spawn classname [key/value pairs]
| Property |
Value |
| Type |
console command |
| Flags |
CMD_FL_GAME | CMD_FL_CHEAT |
Quake 4 (script event)
| Property |
Value |
| Type |
script event |
| Returns |
entity |
| Parameters |
string |
Prey (console command)
spawns a game entity
Usage
usage: spawn classname [key/value pairs]
| Property |
Value |
| Type |
console command |
| Flags |
CMD_FL_GAME | CMD_FL_CHEAT |
Prey (script event)
| Property |
Value |
| Type |
script event |
| Returns |
entity |
| Parameters |
string |