Headspritesect - EDukeWiki

# Headspritesect

From EDukeWiki

headspritesect sprite sect

Returns the ID of the first sprite in the sector. This command can be used to scan through all sprites in the specified sector. The nextspritesect and prevspritesect should be used to go forward and back through the list of sprites. See also headspritestat, which is identical in operation but based on the sprite's statnum rather than its sectnum.

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

- EDuke32 specific commands
- Sprite manipulation