AddTaggedForms - FavoritesManager

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: FavoritesManager Script
Requires F4SE version 0.6.5 or higher.

Adds all Forms in the array to be tagged for search. Be careful which form types are added, some may crash Fallout 4.

Syntax[edit | edit source]

Function AddTaggedForms(Form[] forms) Global Native

Parameters[edit | edit source]

  • forms: The Forms to tag for search.

Examples[edit | edit source]

{tags three items for search}
MiscObject Property PowerRelayCoil Auto Const Mandatory
MiscObject Property VacuumTube Auto Const Mandatory
MiscObject Property Gear Auto Const Mandatory

Event OnInit()
    Form[] tagged = new Form[0]
    tagged.Add(PowerRelayCoil)
    tagged.Add(VacuumTube)
    tagged.Add(Gear)
    FavoritesManager.AddTaggedForms(tagged)
    Debug.Trace("Favorites manager tagged " + tagged.Length + " items for search.")  
EndEvent

Notes[edit | edit source]

None

See Also[edit | edit source]