A Overlay: Difference between revisions

49 bytes removed ,  16 November 2023
→‎Usage: Actually, these ARE constants
m (Remove {{new}})
(→‎Usage: Actually, these ARE constants)
To specify different behaviors for overlays, use [[A_OverlayFlags]].
 
The following is a list of internal layers used by engine ('''These are NOT flags or constants for use!'''):
*''PSP_STRIFEHANDS'' (-1) - Used by [[A_ItBurnsItBurns]] in Strife.
*''PSP_WEAPON'' (1) - Used by the actual weapon.
 
It is recommended that all new overlays should use layers 2 on up, or -2 on down to avoid any potential problems with compatibility.
 
== Parameters ==
*''layer'' - Indicates the draw hierarchy for the layer. Higher numbered layers will be drawn over lower numbers.