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}}
{{stub}}
+
[[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

Lost Soul performing its dash attack using A_SkullAttack.

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:

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