Difference between revisions of "A BabyMetal"

From DoomWiki.org

[checked revision][checked revision]
(+some details)
(External links: add port wikis)
Line 32: Line 32:
 
== External links ==
 
== External links ==
 
* {{DoomSrc|file=p_enemy.c|line=1771|text=A_BabyMetal}} in the Doom source code.
 
* {{DoomSrc|file=p_enemy.c|line=1771|text=A_BabyMetal}} in the Doom source code.
 +
* {{zdoomwiki|title=A_BabyMetal}}
 +
* {{eterwiki|title=BabyMetal}}
  
 
[[Category:Code pointers]]
 
[[Category:Code pointers]]

Revision as of 15:08, 17 March 2020

A_BabyMetal is a code pointer used in the normal animation for the Arachnotron.

A_BabyMetal is a wrapper around A_Chase that plays the sound effect DSBSPWLK before calling that other function. This makes the Arachnotron play its walking sound while invoking the usual monster AI.

Uses

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

Example

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

Pointer 21 (Frame 34)
Codep Frame = 641

Or using BEX syntax:

[CODEPTR]
Frame 1234 = BabyMetal

External links