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, chaingun, BFG9000, 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 BFG9000 |
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