A_Spawn
From DoomWiki.org
| This article or section is a stub. Please help the Doom Wiki by adding to it. |
A_Spawn is a code pointer from MBF that allows spawning arbitrary things during the game. Like many other MBF functions, it uses the misc1 and misc2 properties (Unknown 1 and Unknown 2 in DeHackEd) from the frame where the code pointer is used as parameters. The first is interpreted as the thing number of the thing to spawn, e.g. 6 for a revenant, 71 for a box of shells, or 34 for a rocket projectile. The second is interpreted as the vertical offset above the calling object where the thing is spawned. The horizontal coordinates will be the same as the calling actor.
External links[edit]
- A_Spawn in the MBF source code.
- Spawn at the Eternity Engine wiki
