A_FirePlasma
From DoomWiki.org
A_FirePlasma is a code pointer used in the attack animation for the plasma gun.
Uses[edit]
The A_FirePlasma
code pointer appears in the following states in Doom's state table:
Frame number | Doom internal name | Use |
---|---|---|
77 | S_PLASMA1 | attack animation for the plasma gun |
Example[edit]
The following is an example of how to set the A_FirePlasma
code pointer in a DeHackEd file:
Pointer 21 (Frame 34) Codep Frame = 77
Or using BEX syntax:
[CODEPTR] Frame 1234 = FirePlasma
Code structure[edit]
A_FirePlasma
uses the P_SpawnPlayerMissile
function and so its code structure is largely identical to that of A_FireMissile.
See also[edit]
- A_BspiAttack - used by the arachnotron to fire its plasma balls.
External links[edit]
- A_FirePlasma in the Doom source code.
- A_FirePlasma at the ZDoom wiki
- FirePlasma at the Eternity Engine wiki