Spriteflags: Difference between revisions
Jump to navigation
Jump to search
Hendricks266 (talk | contribs) mNo edit summary |
Helixhorned (talk | contribs) rearrange wording of how the per-tile value and per-sprite value is XORed. |
||
Line 5: | Line 5: | ||
Outside of actors, states, and events,<br/> | Outside of actors, states, and events,<br/> | ||
'''spriteflags''' <picnum> <value> <br/> | '''spriteflags''' <picnum> <value> <br/> | ||
sets the same flags per-tile. | sets the same flags per-tile. The per-tile value is XORed with the per-sprite value, i.e. the setting of one to "true" reverses the other. | ||
[[Category:Bitfields]] | [[Category:Bitfields]] | ||
[[Category:EDuke32 specific commands]] | [[Category:EDuke32 specific commands]] | ||
[[Category:Sprite manipulation]] | [[Category:Sprite manipulation]] |
Revision as of 09:43, 18 April 2012
Inside actor, state, and event code,
spriteflags <value>
sets the htflags value for the current sprite.
Outside of actors, states, and events,
spriteflags <picnum> <value>
sets the same flags per-tile. The per-tile value is XORed with the per-sprite value, i.e. the setting of one to "true" reverses the other.