Skip to main content

SpeechGetGagLevel

Callable

  • SpeechGetGagLevel(C, AssetGroups): number

  • Gets the cumulative gag level of an asset group. Each gagging effect has a specific numeric value. The following Effect arrays are used for the calculation: - Item.Property.Effect - Item.Asset.Effect - Item.Asset.Group.Effect


    Parameters

    • C: Character

      The character, whose assets are used for the check

    • AssetGroups: readonly AssetGroupItemName[]

      The name of the asset groups to look through

    Returns number

    • Returns the total gag effect of the character's assets