HudBarSetFormList

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Sets the Item Form list for specified bar. Item form list is used for "iDisableWhenItemNotEquipped" trait - Bar will only show up when any item from formlist is equipped.

Syntax

[help]
(success:int) HudBarSetFormList barName:string ItemFormList:form 

Or:

(success:int) HBSetFormList barName:string ItemFormList:form

Example

HBSetFormList "BarName" MyFormList

Will hook MyFormList to a Bar.

HBSetFormList "BarName"

Will remove any formlists hooked to a bar.

Notes

  • Calling this function with no parameters will remove bar formlist from the bar.
  • By itself this function will not do anything. You need to set "iDisableWhenItemNotEquipped" to 1 via HudBarSetBarTrait for it to work.

See Also