HudBarSetValueMax

From GECK
Jump to: navigation, search
This article is incomplete. You can help by filling in any blank descriptions.
Further information might be found in a section of the discussion page. Please remove this message when no longer necessary.



A function added by the SUP NVSE Plugin.

Description

Sets the value for a Bar's Trait. Returns 1 for success, -1 for failure. See Notes for possible Trait values.

Syntax

[help]
(success:int) HudBarSetValueMax barName:string MaxValue:float 

Or:

(success:int) HudBarSetValueMax barName:string MaxValue:float

Example

HudBarSetValueMax "BarName" fMaxValue

Will set Max Value to the Bar.

Notes

  • MaxValue is used to calculate value for Type 0,Type 1,Type 2,Type 4 if you set value with HudBarSetValueFloat or with HudBarSetValueScriptVar with "CalculateMaxValue" parameter of 1.
  • For Type 3 - ValueMax is used for text string "Value/MaxValue".

See Also