[nbos] [AS] Hooks for VBScripting
Sam Orton
Tue Sep 18th, 2007
I cobbled together a script that works off existing sector data like the blazon generator, and generates systems for the already existing stars etc. instead of random placement as the system generator script does.
Now if I could only get it to stop overwriting already existing system contents (Like Sol or Alpha Centauri) I'd be golden. Easy enough, just make the generator conditional on "children=0" for any given star it looks at. The problem is that I can't find the name of the sector data field to tie it to.

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 do not feel obliged to believe that the same God who endowed us with sense, reason and intellect intended us to forego their use." - Galileo Galilei

---------------------------------
Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more!
_______________________________________________
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