A_Light1
From DoomWiki.org
![]() | This article or section is a stub. Please help the Doom Wiki by adding to it. |
A_Light1 is a code pointer used in the gun flash animation for various weapons.
Uses[edit]
The A_Light1
code pointer appears in the following states in Doom's state table:
Frame number | Doom internal name | Use |
---|---|---|
17 | S_PISTOLFLASH | gun flash animation for the pistol |
30 | S_SGUNFLASH1 | gun flash animation for the shotgun |
47 | S_DSGUNFLASH1 | gun flash animation for the super shotgun |
55 | S_CHAINFLASH1 | gun flash animation for the chaingun |
63 | S_MISSILEFLASH1 | gun flash animation for the rocket launcher |
79 | S_PLASMAFLASH1 | gun flash animation for the plasma gun |
80 | S_PLASMAFLASH2 | gun flash animation for the plasma gun |
88 | S_BFGFLASH1 | gun flash animation for the BFG9000 |
Example[edit]
The following is an example of how to set the A_Light1
code pointer in a DeHackEd file:
Pointer 21 (Frame 34) Codep Frame = 88
Or using BEX syntax:
[CODEPTR] Frame 1234 = Light1