IsFrozen

From ZDoom Wiki
Revision as of 02:33, 9 October 2020 by Boondorl (talk | contribs) (Created page with "{{ZScriptNote}} __NOTOC__ bool '''IsFrozen'''() == Usage == Checks if the actor is frozen. This doesn't account for the FROZEN flags but instead checks to see if the level i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Note: This feature is for ZScript only.


bool IsFrozen()

Usage

Checks if the actor is frozen. This doesn't account for the FROZEN flags but instead checks to see if the level is frozen. This will return false if the Actor has the NOTIMEFREEZE flag set or is a player. Players will only be frozen if they're not on the same team as the activator of a time freeze powerup.

Return value

Returns true if the Actor is currently frozen.

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.