Skip to content

Ability to directly delete entities from existence #2240

Description

@TheAberto

an example code:

command  /LiveForThreeSecond:
    trigger:
        spawn cow
        set {_theCow} to last spawned cow
        wait 3 seconds
        delete {_theCow}

The delete {_theCow} effect just deleting a variable. But we can not delete the spawned cow with using a variable.

Maybe you can use this effect: delete random element of {_theCow} or delete random element of {_theCows::*} (save the cow in a list variable.)

So, i think developers should add an effect like this: delete entity of {_theCow}

Metadata

Metadata

Assignees

No one assigned

    Labels

    completedThe issue has been fully resolved and the change will be in the next Skript update.enhancementFeature request, an issue about something that could be improved, or a PR improving something.priority: lowIssues that are not harmful to the experience but are related to useful changes or additions.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions