Headspritesect: Difference between revisions
Jump to navigation
Jump to search
Hunter byte (talk | contribs) New page: '''headspritesect <spriteID> <sectID>''' Returns the ID of first sprite in the sector. The purpose of this command to scan through all sprites in the specified sector. The [[nextspritesta... |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
'''headspritesect | '''headspritesect''' ''sprite'' ''sect'' | ||
Returns the ID of first sprite in the sector. | 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]]. | ||
[[Category:EDuke32 specific commands]] | |||
[[Category:Sprite manipulation]] | |||
Latest revision as of 02:16, 14 July 2009
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.