PDA

View Full Version : Formulas in the player sheet



Maspalio
September 14th, 2016, 17:32
Hi all,

I'm working on a ruleset and i'm definately stuck with the way i should put all the fomulas for the calculation of pools.

For example, i got a strength value on page one of the character sheet. On page three, i got an auto filled field where the maximum weight a character can lift without penalties is written.

When i put the formula "maximum weight = strength value x10" in the code of page three, it works perfectly.

But as soon as i put another formula after that - let's say on page four - , the previous calculation doesn't work anymore.

I then tried to mass group all my formulas and call the .lua file contaning them all. But i'm stuck : i don't know where i should put the call of this file : on the first tab ? on the header of the character sheet ?

All i tried is a jam. Can anyone help me ?

damned
September 15th, 2016, 03:26
Hi Maspalio - FG can find the values of fields from the Current Window, another named Window or from the Database. Doing it direct from the Database creates the least confusion for you over the longer term and negates the need for determining what window you are on and what window your source data is on.