A_SpawnSound

From DoomWiki.org

Revision as of 18:08, 17 March 2020 by Gez (talk | contribs) (External links)


A_SpawnSound is a code pointer used in the normal animation for the Demon Spawn Cube.

A_SpawnSound is a wrapper around A_SpawnFly that also plays the sound effect DSBOSCUB.

Uses

The A_SpawnSound code pointer appears in the following states in Doom's state table:

Example

The following is an example of how to set the A_SpawnSound code pointer in a Dehacked file:

Pointer 21 (Frame 34)
Codep Frame = 787

Or using BEX syntax:

[CODEPTR]
Frame 1234 = SpawnSound

External links