Entities as variables

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

NightyNight

Member
Feb 21, 2017
20
0
0
20
Im looking to set a last spawned entity to a variable to store in a list and delete later, while keeping name and location available to edit. How can I do this?
 
If you need the armorstands outside the event you can’t use a local list variable (get rid of the underscore)

Then to kill them just loop the variable then kill loop-value
 
I'm using this all in one event but I've decided to add a specific nbt data to each and compare them with a radius loop that way. Thanks for the help though!
 
Status
Not open for further replies.