Page 1 of 1

should removeAll() remove all models?

Posted: Sat Nov 05, 2011 10:14 am
by Mic
Is removeAll() the code equiv of RemoveAllModels? Cannot get it to remove e.g. the Ballz. Thanks,

Mic.

Posted: Sat Nov 05, 2011 10:45 am
by VilleK
Hi Mic,

There is no script function for removing models so you need to use the RemoveModel or RemoveAllModels components.

re: removeAll()

Posted: Sat Nov 05, 2011 8:03 pm
by Mic
Thanks! ( what does removeAll() do? I tried it and all the money disappeared from my wallet :-) )

Posted: Sat Nov 05, 2011 10:50 pm
by VilleK
I don't know because there is no removeAll() function :)
I get "unknown function" when I try it.
If you are modifying the Ballz project then perhaps the author has made his own function with that name? In that case look into the ZLibrary components.

re:removeAll()

Posted: Sun Nov 06, 2011 7:04 am
by Mic
Yes you are absolutely right ... I was typing App. and seeing what was available ..... removeAll() is a library function.