AddState (Projectile Block)

From WinWolf3D/WDC

Every projectile starts out with no states. This command adds a state of the given state type.

Syntax

AddState statetype spritenumber rotate tics

Valid in

Notes

  • There must be at least one s_projectile state.
  • 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.
  • Rotate can be either true or false. If it is true, the engine assumes that the next 7 sprites after the given spritenumber represent the other 7 projectile directions.