Skip to main content

InventoryIsWorn

Callable

  • InventoryIsWorn(C, group, assetName): boolean

  • Returns TRUE if character wears any of the requested items in the given group


    Parameters

    • C: Character

      The character to scan

    • group: AssetGroupName

      The asset group name to scan

    • assetName: string | readonly string[]

      The asset / item names to scan. null means none is worn. Multiple names means any of them.

    Returns boolean

    • TRUE if item is worn