# Destroy

Grammar — Destroy
FlagsFunction

Constructs and returns a Destroy actor message. This message destroys the actor it is sent to, removing it from the game entirely.

Returns — string<actormsg>

string libNtve_gf_Destroy();

Category: Actor / Message Constructors

# Examples

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:18728

        ActorSend(lv_heroActor, (("AnimGroupRemove " + lv_poseAnimGroup + " Instant")));
        ActorSend(lv_heroActor, (("AnimBlendTimeApply")));
        ActorSend(ActorFromScope(ActorScopeFromUnit(EventUnit()), lv_mountActorName), libNtve_gf_Destroy());
    }
    else {