Difference between revisions of "A SpawnFly"
From DoomWiki.org
[checked revision] | [checked revision] |
m (→External links) |
m (Change "Demon Spawn Cube" to "spawn cube") |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:A_SpawnFly}} | {{DISPLAYTITLE:A_SpawnFly}} | ||
{{stub}} | {{stub}} | ||
− | '''A_SpawnFly''' is a [[code pointer]] used in the normal animation for the [[ | + | '''A_SpawnFly''' is a [[code pointer]] used in the normal animation for the [[spawn cube]]. |
== Uses == | == Uses == | ||
Line 11: | Line 11: | ||
! Frame number || Doom internal name || Use | ! Frame number || Doom internal name || Use | ||
|- | |- | ||
− | | 788 || {{DoomSrc|text=S_SPAWN2|file=info.c|line=924}} || normal animation for the | + | | 788 || {{DoomSrc|text=S_SPAWN2|file=info.c|line=924}} || normal animation for the spawn cube |
|- | |- | ||
− | | 789 || {{DoomSrc|text=S_SPAWN3|file=info.c|line=925}} || normal animation for the | + | | 789 || {{DoomSrc|text=S_SPAWN3|file=info.c|line=925}} || normal animation for the spawn cube |
|- | |- | ||
− | | 790 || {{DoomSrc|text=S_SPAWN4|file=info.c|line=926}} || normal animation for the | + | | 790 || {{DoomSrc|text=S_SPAWN4|file=info.c|line=926}} || normal animation for the spawn cube |
|- | |- | ||
|} | |} |
Revision as of 16:25, 22 July 2021
This article or section is a stub. Please help the Doom Wiki by adding to it. |
A_SpawnFly is a code pointer used in the normal animation for the spawn cube.
Uses
The A_SpawnFly
code pointer appears in the following states in Doom's state table:
Frame number | Doom internal name | Use |
---|---|---|
788 | S_SPAWN2 | normal animation for the spawn cube |
789 | S_SPAWN3 | normal animation for the spawn cube |
790 | S_SPAWN4 | normal animation for the spawn cube |
Example
The following is an example of how to set the A_SpawnFly
code pointer in a Dehacked file:
Pointer 21 (Frame 34) Codep Frame = 790
Or using BEX syntax:
[CODEPTR] Frame 1234 = SpawnFly
External links
- A_SpawnFly in the Doom source code.
- A_SpawnFly at the ZDoom wiki
- SpawnFly at the Eternity Engine wiki