Skip to main content

CharacterAppearanceIsLayerVisible

Callable

  • CharacterAppearanceIsLayerVisible(C, layer, asset, typeRecord): boolean

  • Determines whether an asset layer should be rendered, assuming the asset itself is visible.


    Parameters

    • C: Character

      The character wearing the item

    • layer: AssetLayer

      The layer to check visibility for

    • asset: Asset

      The asset that the layer belongs to

    • optionaltypeRecord: TypeRecord = null

      The item's type, if it has one

    Returns boolean

    • TRUE if the layer should be visible, FALSE otherwise