A_Light2
From DoomWiki.org
![]() | This article or section is a stub. Please help the Doom Wiki by adding to it. |
A_Light2 is a code pointer used in the gun flash animation for the Super Shotgun, Shotgun, BFG 9000, and Rocket Launcher.
Uses[edit]
The A_Light2
code pointer appears in the following states in Doom's state table:
Frame number | Doom internal name | Use |
---|---|---|
31 | S_SGUNFLASH2 | gun flash animation for the Shotgun |
48 | S_DSGUNFLASH2 | gun flash animation for the Super Shotgun |
56 | S_CHAINFLASH2 | gun flash animation for the Chaingun |
65 | S_MISSILEFLASH3 | gun flash animation for the Rocket Launcher |
66 | S_MISSILEFLASH4 | gun flash animation for the Rocket Launcher |
89 | S_BFGFLASH2 | gun flash animation for the BFG 9000 |
Example[edit]
The following is an example of how to set the A_Light2
code pointer in a Dehacked file:
Pointer 21 (Frame 34) Codep Frame = 89
Or using BEX syntax:
[CODEPTR] Frame 1234 = Light2