Headspritestat - EDukeWiki

# Headspritestat

From EDukeWiki

headspritestat sprite statnum

Returns the ID of first sprite in the list of sprites with a matching statnum. This command can be used to scan through all sprites of a certain type. The nextspritestat and prevspritestat commands should be used to go forward and back through the list of sprites. See also headspritesect, which is identical in operation but based on the sprite's sectnum rather than its statnum.

Retrieved from "http://wiki.eduke32.com/w/index.php?title=Headspritestat&oldid=8337"
Categories:

- EDuke32 specific commands
- Sprite manipulation