Ninko Posted September 29, 2016 Posted September 29, 2016 I need help making a script for DestroyObject that would run in the OnClosed of a placeable I am not too sure what would have to be inside the () of the DestroyObject... Here's what I think I would need to do (Obviously wrong!!!!) : void main() { DestroyObject(); } Help is much appreciated, thanks in advance. EDIT: Never Mind I have worked it out with help from Hassatt Hunter! I have ended up with: void main() { DelayCommand(5.0, DestroyObject(OBJECT_SELF)); } Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.