set_decal_destroy_owner_after_fade
Toggle whether a decal actor destroys its owner after fading out, and read back the fade timing and destroy flag independently.
Instructions
Toggle the bDestroyOwnerAfterFade bit on a UDecalComponent. The existing set_decal_fade cmd always passes DestroyOwnerAfterFade=true to SetFadeOut; this cmd lets callers flip it independently and read it back. Implementation: writes the FadeOut triad through SetFadeOut(start, duration, destroy) using the current FadeStartDelay/FadeDuration so the other two fields are preserved.
Returns: { actor_label: string, destroy_owner_after_fade: bool, fade_start_delay: float, fade_duration: float }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor_label | Yes | Label of the ADecalActor in the editor world. | |
| destroy_owner_after_fade | No | New value for the bDestroyOwnerAfterFade bit (true = auto-destroy the actor once fully faded). |