CreatePopup

From ZDoom Wiki
Jump to navigation Jump to search

CreatePopup <name>, <width>, <height>, <transition> [, transition args]

Sets the transition effect for the specified popup (log, keys, status). Width and Height help the transition determine a starting point. For None this could technically be anything. The transition can be any of the following:

None
Popup will appear instantly when activated. (No additional args)
SlideInBottom
Popup will slide up from the bottom at the specified speed pixels per tic. (Args: <speed>)
PushUp
Identical to SlideInBottom except if the primary status bar does not use fullscreenoffsets, it will be displaced by the popup's movements. (Args: <speed>)
Fade
Popup will fade in to the translucency of the status bar. Both args are floats and represent the amount in time in seconds for the fade to complete. (Args: <fade-in speed>, <fade-out speed>)