AddObject

From WinWolf3D/WDC

Once an object type has been added, you need to tell the engine how to use it.

Syntax

AddObject objectcode spritenumber objecttype

Valid in

Notes

  • If you want to set up an object that is only dropped, such as the used ammo pack in Wolfenstein 3-D simply give it an unused object code.
  • When the game is a VGA game, the spritenumber is any valid sprite number from the VSWAP. Spritenumbers start at 0. When the game is an EGA game, the sprite number is the EGAGRAPH chunk number.
  • The objecttype must first be added using an AddType command.