Spriteflags: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
Inside actor, state, and event code,<br />
Inside actor, state, and event code,<br />
'''spriteflags''' <value>
'''spriteflags''' <value><br />
sets the [[htflags]] value for the current sprite.
sets the [[htflags]] value for the current sprite.



Revision as of 15:09, 1 January 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. When a flag is checked, the per-tile value is XORed with the per-sprite value, i.e. one reverses the other.