remove_gameplay_effect
Remove a specified active gameplay effect and all its stacks from an editor-world actor's ability system component, and report whether the engine confirmed it was removed.
Instructions
Remove the first active gameplay effect on an editor-world actor ability system component whose definition matches effect_name, with all its stacks (RemoveActiveGameplayEffect). removed is the engine answer confirmed by the effect no longer being active; success is false with an error otherwise.
Returns: { actor_name, effect_name, removed } -- removed is what the engine reports, confirmed by the effect not being active afterwards
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor_name | Yes | Object name (not the label) of the editor-world actor, e.g. "BP_Hero_C_1", matched case-insensitively; find_actors_by_name maps labels to names | |
| effect_name | Yes | Active effect to match by its definition: the effect_name from get_active_effects, the class name with or without _C ("GE_Burn"), the asset path ("/Game/Effects/GE_Burn") or the class path; case-insensitive, first match wins |