A_FirePlasma

From DoomWiki.org

A_FirePlasma is the code pointer that spawns plasma balls as part of the plasma rifle's firing animation.

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:

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]

External links[edit]