IsHudEnabled

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

A command for Pluggy.

Syntax:

(HUDEnabled:bool) IsHUDEnabled

IsHUDEnabled returns true when the player has enabled the HUD functions. If the HUD functions aren't enabled - don't use them (they will crash the game). The player can only enable them before they start Oblivion, so you can use GetGameLoaded/Restarted. Also, note that if the player disables the HUD functions, their HUD data will be erased, and will not be available if they later re-enable the HUD functions.