Spriteflags: Difference between revisions
Jump to navigation
Jump to search
Hendricks266 (talk | contribs) No edit summary |
Hendricks266 (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
sets the [[htflags]] value for the current sprite. | sets the [[htflags]] value for the current sprite. | ||
Outside of actors and | Outside of actors, states, and events,<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. |
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, 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.