A_StartFire
From DoomWiki.org
This 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:
Frame number | Doom internal name | Use |
---|---|---|
281 | S_FIRE1 | normal animation for the arch-vile's attack |
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]
- A_StartFire in the Doom source code.
- A_StartFire at the ZDoom wiki
- StartFire at the Eternity Engine wiki