Difference between revisions of "A SkullAttack"
From DoomWiki.org
[checked revision] | [checked revision] |
(Adding new page for code pointer) |
|||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:A_SkullAttack}} | {{DISPLAYTITLE:A_SkullAttack}} | ||
− | + | [[File:E3m2 lostsoul.PNG|thumb|right|Lost Soul performing its dash attack using <code>A_SkullAttack</code>.]] | |
− | '''A_SkullAttack''' is a [[code pointer]] used in the attack animation for the [[Lost Soul]]. | + | '''A_SkullAttack''' is a [[code pointer]] used in the attack animation for the [[Lost Soul]]. It implements the Lost Soul's "charge attack" where it launches itself towards its target. |
== Uses == | == Uses == |
Revision as of 22:23, 16 March 2020
A_SkullAttack is a code pointer used in the attack animation for the Lost Soul. It implements the Lost Soul's "charge attack" where it launches itself towards its target.
Uses
The A_SkullAttack
code pointer appears in the following states in Doom's state table:
Frame number | Doom internal name | Use |
---|---|---|
590 | S_SKULL_ATK2 | attack animation for the Lost Soul |
Example
The following is an example of how to set the A_SkullAttack
code pointer in a Dehacked file:
Pointer 21 (Frame 34) Codep Frame = 590
Or using BEX syntax:
[CODEPTR] Frame 1234 = SkullAttack
External links
- A_SkullAttack in the Doom source code.