Mittell Buurman Posted April 27, 2013 Posted April 27, 2013 (edited) What I want to do is as followed. In the script I made an object, the object moves and after all those objects have been touched, I want them to be deleted, but... As far as Ive seen there's no such thing as destroyObject or anything except for destroyElement, but that clearly doesnt work out for objects since they expect an element, not an object. How can I get rid of those objects without duplicating them? Edited April 27, 2013 by Guest
MIKI785 Posted April 27, 2013 Posted April 27, 2013 All objects are elements, excluding world objects. You can delete them using destroyElement.
Mittell Buurman Posted April 27, 2013 Author Posted April 27, 2013 Bad Argument @ 'destroyElement'[expected element at argument 1] Well...it DOES remove the object, but why do I get this message?
Mittell Buurman Posted April 27, 2013 Author Posted April 27, 2013 Nevermind.. It's fixed . Thanks for the reply though. I had a timer set before I destroyed the element, that's why it showed the code, just the wrong line lol
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now