Skip to content

GASToolsets.AbilitySystemInspectorToolset

Provides tools for inspecting the runtime state of an AbilitySystemComponent. Each function takes a direct actor pointer and raises a script error if the actor is null or has no AbilitySystemComponent.

4 tool(s).

GASToolsets.AbilitySystemInspectorToolset.GetActiveEffects

Returns all gameplay effects currently active on the actor's AbilitySystemComponent.

Input schema

{
  "properties": {
    "actor": {
      "description": "The target actor.",
      "properties": {
        "refPath": {
          "description": "The reference stored as a soft path string.",
          "type": "string"
        }
      },
      "required": [
        "refPath"
      ],
      "title": "/Script/Engine.Actor",
      "type": "object"
    }
  },
  "required": [
    "actor"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "returnValue": {
      "description": "A list of active effect summaries sorted by effect name. Raises a script error if Actor is null or has no ASC.",
      "items": {
        "properties": {
          "effectName": {
            "description": "The name of the GameplayEffect class (e.g. \"GE_Burning\").",
            "type": "string"
          },
          "grantedTags": {
            "description": "Tags granted to the owner by this effect.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "remainingDuration": {
            "description": "Remaining duration in seconds. -1 means infinite.",
            "type": "number"
          },
          "stackCount": {
            "description": "Current stack count. 1 for non-stacking effects.",
            "type": "integer"
          },
          "totalDuration": {
            "description": "Total duration in seconds. -1 means infinite.",
            "type": "number"
          }
        },
        "required": [
          "effectName",
          "stackCount",
          "totalDuration",
          "remainingDuration",
          "grantedTags"
        ],
        "title": "ActiveEffectInfo",
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "returnValue"
  ],
  "type": "object"
}

GASToolsets.AbilitySystemInspectorToolset.GetActiveTags

Returns the gameplay tags currently owned by the actor's AbilitySystemComponent (includes loose tags, effect-granted tags, etc.).

Input schema

{
  "properties": {
    "actor": {
      "description": "The target actor.",
      "properties": {
        "refPath": {
          "description": "The reference stored as a soft path string.",
          "type": "string"
        }
      },
      "required": [
        "refPath"
      ],
      "title": "/Script/Engine.Actor",
      "type": "object"
    }
  },
  "required": [
    "actor"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "returnValue": {
      "description": "A sorted list of gameplay tag name strings. Raises a script error if Actor is null or has no ASC.",
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "returnValue"
  ],
  "type": "object"
}

GASToolsets.AbilitySystemInspectorToolset.GetAttributeValues

Returns the current base and modified values of all gameplay attributes on the actor's AbilitySystemComponent.

Input schema

{
  "properties": {
    "actor": {
      "description": "The target actor.",
      "properties": {
        "refPath": {
          "description": "The reference stored as a soft path string.",
          "type": "string"
        }
      },
      "required": [
        "refPath"
      ],
      "title": "/Script/Engine.Actor",
      "type": "object"
    }
  },
  "required": [
    "actor"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "returnValue": {
      "description": "A list of attribute values sorted by full name. Raises a script error if Actor is null or has no ASC.",
      "items": {
        "properties": {
          "attributeName": {
            "description": "The short attribute name (e.g. \"Health\").",
            "type": "string"
          },
          "baseValue": {
            "description": "The permanent base value, unaffected by temporary modifiers.",
            "type": "number"
          },
          "currentValue": {
            "description": "The current value after all active modifiers are applied.",
            "type": "number"
          },
          "fullName": {
            "description": "The fully-qualified name including the owning set (e.g. \"UMyHealthSet.Health\").",
            "type": "string"
          },
          "setClassName": {
            "description": "The name of the AttributeSet class that owns this attribute (e.g. \"UMyHealthSet\").",
            "type": "string"
          }
        },
        "required": [
          "attributeName",
          "fullName",
          "setClassName",
          "baseValue",
          "currentValue"
        ],
        "title": "RuntimeAttributeValue",
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "returnValue"
  ],
  "type": "object"
}

GASToolsets.AbilitySystemInspectorToolset.GetGrantedAbilities

Returns all abilities granted to the actor's AbilitySystemComponent.

Input schema

{
  "properties": {
    "actor": {
      "description": "The target actor.",
      "properties": {
        "refPath": {
          "description": "The reference stored as a soft path string.",
          "type": "string"
        }
      },
      "required": [
        "refPath"
      ],
      "title": "/Script/Engine.Actor",
      "type": "object"
    }
  },
  "required": [
    "actor"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "returnValue": {
      "description": "A list of granted ability summaries sorted by ability name. Raises a script error if Actor is null or has no ASC.",
      "items": {
        "properties": {
          "abilityName": {
            "description": "The name of the ability class (e.g. \"GA_Sprint\").",
            "type": "string"
          },
          "bIsActive": {
            "description": "True if the ability is currently executing (at least one active instance).",
            "type": "boolean"
          },
          "level": {
            "description": "The level at which this ability was granted.",
            "type": "integer"
          }
        },
        "required": [
          "abilityName",
          "level",
          "bIsActive"
        ],
        "title": "GrantedAbilityInfo",
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "returnValue"
  ],
  "type": "object"
}