Spriteflags: Difference between revisions
Jump to navigation
Jump to search
Hendricks266 (talk | contribs) mNo edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
'''1''' - Generates a shadow. See [[spriteshadow]].<br /> | '''1''' - Generates a shadow. See [[spriteshadow]].<br /> | ||
'''2''' - Turns [[spritepal|palette]] 6 whenever night vision goggles are used. See [[spritenvg]].<br /> | '''2''' - Turns [[spritepal|palette]] 6 whenever night vision goggles are used. See [[spritenvg]].<br /> | ||
'''4''' - The sprite's shade is unaffected by the shade of its sector.<br /> | '''4''' - The sprite's shade is unaffected by the shade of its sector. See [[spritenoshade]].<br /> | ||
'''8''' - Is a [[defineprojectile|projectile]].<br /> | '''8''' - Is a [[defineprojectile|projectile]].<br /> | ||
'''16''' - Prevents teleporting. The sprite is not entered into the [[decal deletion queue]].<br /> | '''16''' - Prevents teleporting. The sprite is not entered into the [[decal deletion queue]].<br /> |
Revision as of 15:30, 9 July 2007
spriteflags <value>
Sets special flags for sprites. The values are:
1 - Generates a shadow. See spriteshadow.
2 - Turns palette 6 whenever night vision goggles are used. See spritenvg.
4 - The sprite's shade is unaffected by the shade of its sector. See spritenoshade.
8 - Is a projectile.
16 - Prevents teleporting. The sprite is not entered into the decal deletion queue.
32 - Is an enemy. See useractor.
It is a bitfield, so add together the values you want and then use spriteflags with the sum.