Mod:Creation Kit/AddTaggedForms - FavoritesManager

Member of: Mod:Creation Kit/FavoritesManager Script

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