Spawn

From EDukeWiki
Revision as of 19:35, 24 February 2011 by Hendricks266 (talk | contribs)
Jump to navigation Jump to search

spawn <tile number>
espawn <tile number>
espawnvar <tile number>
qspawn <tile number>
qspawnvar <tile number>
eqspawn <tile number>
eqspawnvar <tile number>

When not used in the specific command sense, spawning is the act of placing a new sprite into the running game.

The spawn commands add actor <tile number> to the current map, at the position of the actor that spawned it.

Commands with an "e" prefix set the gamevar RETURN to the spawned actor's sprite id.

Commands with a "q" prefix insert the spawned sprite into the decal deletion queue, like the command insertspriteq.

Commands with an additional "var" suffix take gamevars rather than constants or defined labels for their inputs.