Tick (BaseStatusBar)

From ZDoom Wiki
Jump to navigation Jump to search
Note: This feature is for ZScript only.


native virtual void Tick()

Usage

BaseStatusBar utilizes this function in the same way as Actor: it's called every 1/35th of a second. Internally this function handles messages, resetting the crosshair size, and inventory item flash durations. This can be used to handle variables and functionality you want to make sure is called at set intervals instead of tied to the frame rate.

Examples

Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.