Skip to main content

InventoryGroupIsBlocked

Callable


  • Returns TRUE if the body area (Asset Group) for a character is blocked and cannot be used Similar to InventoryGroupIsBlockedForCharacter but also blocks groups on all characters if the player is enclosed.


    Parameters

    • C: Character

      The character on which we validate the group

    • optionalGroupName: AssetGroupItemName

      The name of the asset group (body area)

    • optionalActivity: boolean

      if TRUE check if activity is allowed on the asset group

    Returns boolean

    • TRUE if the group is blocked