Headspritesect

From EDukeWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.