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
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.
- A_SkullAttack at the ZDoom wiki
- SkullAttack at the Eternity Engine wiki