Difference between revisions of "A WeaponReady"

From DoomWiki.org

[checked revision][checked revision]
m (External links)
Line 47: Line 47:
 
== External links ==
 
== External links ==
 
* {{DoomSrc|file=p_pspr.c|line=282|text=A_WeaponReady}} in the Doom source code.
 
* {{DoomSrc|file=p_pspr.c|line=282|text=A_WeaponReady}} in the Doom source code.
 +
* {{zdoomwiki|title=A_WeaponReady}}
 +
* {{eterwiki|title=WeaponReady}}
  
 
[[Category:Weapon code pointers]]
 
[[Category:Weapon code pointers]]

Revision as of 08:36, 18 March 2020

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

A_WeaponReady is a code pointer used in the normal weapon animation for all weapons.

Uses

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

Example

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

Pointer 21 (Frame 34)
Codep Frame = 81

Or using BEX syntax:

[CODEPTR]
Frame 1234 = WeaponReady

External links