Difference between revisions of "A SkullAttack"

From DoomWiki.org

[checked revision][checked revision]
m (External links)
Line 29: Line 29:
 
== External links ==
 
== External links ==
 
* {{DoomSrc|file=p_enemy.c|line=1419|text=A_SkullAttack}} in the Doom source code.
 
* {{DoomSrc|file=p_enemy.c|line=1419|text=A_SkullAttack}} in the Doom source code.
 +
* {{zdoomwiki|title=A_SkullAttack}}
 +
* {{eterwiki|title=SkullAttack}}
  
 
[[Category:Code pointers]]
 
[[Category:Code pointers]]

Revision as of 18:07, 17 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