RemoveTaggedForms - FavoritesManager

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

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

Removes all Forms in the array from tagged search.

Syntax[edit | edit source]

Function RemoveTaggedForms(Form[] forms) Global Native

Parameters[edit | edit source]

  • forms: The Forms to remove from tagged search.

Examples[edit | edit source]

{remove 3 items tagged 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.RemoveTaggedForms(tagged)
    Debug.Trace("Favorites manager removed " + tagged.Length + " tagged items for search.")
EndEvent

Notes[edit | edit source]

None

See Also[edit | edit source]