HudT Weight

A command for Pluggy.

Syntax:

(X:float) HudT_Weight HudID:long Layer:long Relative:bool Global:bool

Returns or sets the Weight or Boldness of the Hud's text. 0 = none, else must be between 1 and 1000.

  • If Weight is not specified, it returns the Weight of the Hud.
  • If Weight is specified, it sets the Weight of the Hud.
      • If Relative is set to non-0, the Weight will be relative to the Hud's current Weight.
  • 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.

NotesEdit

  • 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.