Re: [nbos] [AS] Hooks for VBScripting"Mike Oliver" Sun Sep 30th, 2007
I've just got back from an extended holiday and am catching up with
matters NBOS. What you're doing, Sam, sounds fascinating. I've saved
your astroscript file for a future try-out. Does it work as an
independent plug-in or should I have another plug-in activated first? I
suspect I've missed previous postings on the subject and shall have to
go to the forum to have a look.
[mailto:nbossoftware-bounces-at-nbos.com] On Behalf Of Sam Orton
Sent: 18 September 2007 16:51
Subject: [nbos] [AS] Hooks for VBScripting
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
"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
Catch up on fall's
.com/collections/3658%20%0d%0a> hot new shows on Yahoo! TV. Watch
previews, get listings, and more!
Nbossoftware mailing list