IsTaggedForm - FavoritesManager

From Creation Kit
Jump to: navigation, search

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

Returns whether the specified Form is tagged for search.

Syntax

bool Function IsTaggedForm(Form akForm) Global Native

Parameters

  • akForm: The Form to check for a search tag.

Return Value

Returns true if the given Form is tagged for search.

Examples

{check item for search tagging}
MiscObject Property PowerRelayCoil Auto Const Mandatory
 
Event OnInit()
    If (FavoritesManager.IsTaggedForm(PowerRelayCoil))
        Debug.Trace("The PowerRelayCoil is tagged for search.")
    Else
        Debug.Trace("The PowerRelayCoil is NOT tagged for search.")
    EndIf
EndEvent

Notes

None

See Also