Tick (BaseStatusBar)

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

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.
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.