Difference between revisions of "A BabyMetal"
From DoomWiki.org
[checked revision] | [checked revision] |
(Adding new page for code pointer) |
(+some details) |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:A_BabyMetal}} | {{DISPLAYTITLE:A_BabyMetal}} | ||
− | |||
'''A_BabyMetal''' is a [[code pointer]] used in the normal animation for the [[Arachnotron]]. | '''A_BabyMetal''' is a [[code pointer]] used in the normal animation for the [[Arachnotron]]. | ||
+ | |||
+ | <code>A_BabyMetal</code> 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 == | == Uses == |
Revision as of 17:22, 16 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:
Frame number | Doom internal name | Use |
---|---|---|
635 | S_BSPI_RUN1 | normal animation for the Arachnotron |
641 | S_BSPI_RUN7 | normal animation for the Arachnotron |
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
- A_BabyMetal in the Doom source code.