A_StartFire

From DoomWiki.org

Under construction icon-yellow.svgThis article or section is a stub. Please help the Doom Wiki by adding to it.

A_StartFire is a code pointer used in the normal animation for the arch-vile's attack.

A_StartFire is a wrapper around A_Fire that also plays the sound effect DSFLAMST.

Note: although this function is present in the code for the arch-vile's attack flame object, it is never actually used. This is because of an oversight. Code pointers are only run when an actor changes its state, but it is not run for the state in which the actor is spawned. Since this function is called in the flame's spawn state, and the actor does not loop back to its spawn state at the end of its animation but disappears, it is never actually executed.

Uses[edit]

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

Example[edit]

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

Pointer 21 (Frame 34)
Codep Frame = 281

Or using BEX syntax:

[CODEPTR]
Frame 1234 = StartFire

External links[edit]