PDA

View Full Version : Reading a value off the Desktop



MadBeardMan
May 29th, 2017, 23:38
Folks,

Within WOiN I'm adding a 'Target' box, for a Target Value for a Skill Roll (I also need this in Traveller).

How do you go about reading data from the 'desktop', ie even reading if a Modifier is entered, I can't quite locate this in the CoreRPG.

Any help would be greatfully received.

Cheers
Col

Trenloe
May 30th, 2017, 00:04
For the modifier stack, look for the ModifierStack <script> package in base.xml. This keeps all the slot data in a slots table within that script package.

Or you can make a panel store it's data in the FG database and access the data there. An example of such a panel is here: https://www.fantasygrounds.com/forums/showthread.php?38374-Need-your-expertise-about-char_main-xml&p=338642&viewfull=1#post338642

MadBeardMan
May 30th, 2017, 00:13
Or you can make a panel store it's data in the FG database and access the data there. An example of such a panel is here: https://www.fantasygrounds.com/forums/showthread.php?38374-Need-your-expertise-about-char_main-xml&p=338642&viewfull=1#post338642

That sir, is perfect. Been looking through the SW code and my, it's complex and very different from CoreRPG/5E.