Re: [nbos] [AS] Hooks for VBScripting
NBOS Support
Wed Sep 19th, 2007
At 11:51 AM 9/18/2007, you wrote:
>If o.children = 0 then RandomSystem o, true appears to be a good script
>command, but it won't accept o.children as a valid data field. Any ideas?

I believe either o.ChildrenCount() or o.GetBodyCount() will do what
you're looking for. o.ChildrenCount() will return 0 if there's no child
objects, o.GetBodyCount() will return 1 if there's no children.


Nbossoftware mailing list

Copyright © 2003-2007, NBOS Software. All rights reserved. 'Fractal Mapper', 'ScreenMonkey', 'Character Sketcher', 'Inspiration Pad', 'Fractal World Explorer', 'Goblin API', 'AstroSynthesis' are trademarks of NBOS Software. 'Dwarven Beserker' art by V. Shane.
Member contributed resources