[nbos] [AS2][AS3] SetDefaultSystemDataConfigAlan Bartholet Sat Sep 22nd, 2012
I'm working on some updating of my GURPS plugin and I've run into an
issue I haven't been able to resolve.
Instead of setting the display of the fields on a per body basis I
want to set them in the sector defaults.
Unfortunately I haven't been able to make it work so either I'm
missing something or it's a bug, I've tried this in both AS2 and AS3.
Here is a basic example of what I am trying to accomplish:
sector = GetCurrentSector()
config = CreateSystemDataConfig()
config.AddField "The spectral class is", "spectral", "", False
holder = sector.GetSystemDataConfigHolder()
holder.SetConfigForType config, BODY_TYPE_STAR
Anybody have any ideas?
Nbossoftware mailing list