Difference between revisions of "A GunFlash"

From DoomWiki.org

[checked revision][checked revision]
(Adding new page for code pointer)
 
(recategorize)
Line 32: Line 32:
 
* {{DoomSrc|file=p_pspr.c|line=449|text=A_GunFlash}} in the Doom source code.
 
* {{DoomSrc|file=p_pspr.c|line=449|text=A_GunFlash}} in the Doom source code.
  
[[Category:Code pointers]]
+
[[Category:Weapon code pointers]]

Revision as of 18:15, 16 March 2020

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

A_GunFlash is a code pointer used in the attack animation for the BFG 9000 and Rocket Launcher.

Uses

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

Example

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

Pointer 21 (Frame 34)
Codep Frame = 85

Or using BEX syntax:

[CODEPTR]
Frame 1234 = GunFlash

External links