Spriteflags: Difference between revisions
Jump to navigation
Jump to search
Helixhorned (talk | contribs) m xref to htflags |
Hendricks266 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
Inside actor, state, and event code,<br /> | |||
'''spriteflags''' <value> | '''spriteflags''' <value> | ||
sets the [[htflags]] value for the current sprite. | |||
Outside of actors and states,<br/> | Outside of actors and states,<br/> | ||
'''spriteflags''' <picnum> <value> <br/> | '''spriteflags''' <picnum> <value> <br/> | ||
sets the same flags per-tile. When a flag is checked, the per-tile value is XORed with the per-sprite value, i.e. one reverses the other. | sets the same flags per-tile. When a flag is checked, the per-tile value is XORed with the per-sprite value, i.e. one reverses the other. | ||
[[Category:Bitfields]] | [[Category:Bitfields]] | ||
[[Category:EDuke32 specific commands]] | [[Category:EDuke32 specific commands]] | ||
[[Category:Sprite manipulation]] | [[Category:Sprite manipulation]] |
Revision as of 14:08, 1 January 2012
Inside actor, state, and event code,
spriteflags <value>
sets the htflags value for the current sprite.
Outside of actors and states,
spriteflags <picnum> <value>
sets the same flags per-tile. When a flag is checked, the per-tile value is XORed with the per-sprite value, i.e. one reverses the other.