HudS Opac
(Redirected from HudT Opac)
Jump to navigation
Jump to search
A command for Pluggy.
Syntax:
For HudS (Surface/Image)
(X:float) HudS_Opac HudID:long Opacity:long Relative:bool Global:bool
For HudT (Text)
(X:float) HudT_Opac HudID:long Opacity:long Relative:bool Global:bool
Returns or sets the Opacity of the Hud, from 0 (transparent) to 100 (opaque).
- If Opacity is not specified, it returns the Opacity of the Hud.
- If Opacity is specified, it sets the Opacity of the Hud.
- If Relative is set to non-0, the Opacity will be relative to the Hud's current Opacity.
- If you want to modify a Hud from another mod or "0" scripts (result scripts, console, batch scripts), you will need to set the Global flag to 1. If Global is 0 or unset the function will fail. If the Hud is protected the function will fail.
Notes[edit | edit source]
- Due to limitations of the Wiki software, the title of this article, and links to it, cannot display it correctly - there is an underscore (_) in the function's name.