AddTaggedForms - FavoritesManager

From Creation Kit
Jump to: navigation, 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

Function AddTaggedForms(Form[] forms) Global Native

Parameters

  • forms: The Forms to tag for search.

Examples

{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

None

See Also