I was trying to add the trust fund quality, but it is a little difficult.
I can remove the cost of all lifestyles with
but this doesn't take into account what level of trust fund is purchased, or what life style they have, or even if they have multiple lifestyles. A lifestyle offset (rather than mult) would be ideal, but I can't locate one.
So, is there a way to find out the sum of the character's lifestyle costs?
If so then something like (in psudo-code)
should work fine. But I know of no way to get a current lifestyle cost.
the field acLifestyl stores the name of a (random) perchased lifestyle, but does not list purchased lifestyles, and therefore cannot even be used for validation.
Finally, the best functional alternative would simply by to offset the cost of the quality in BP by the cost of the appropriate lifestyle.... 9BP for Trust Fund (med) and 18BP for Trust Fund (high), but this messes up quality BP accounting (not significantly, since there are no 2BP qualities, but still... it seems ugly, plus it would only show the lifestyle as monthly on the char sheet, instead of permanent. And making it negative enough to purchase 100 months of anything would trigger warnings about negative qualities above 35BP.
Any ideas from anyone a little more familiar with the scripting language and Hero Lab in general? Am I missing something obvious?
I can remove the cost of all lifestyles with
Code:
herofield[acLifeMult].value = 0
So, is there a way to find out the sum of the character's lifestyle costs?
If so then something like (in psudo-code)
Code:
var costOffset as number
costOffset = selectedLevel * 5000
herofield[acLifeMult] -= (costOffset / currentLifestleCost)
the field acLifestyl stores the name of a (random) perchased lifestyle, but does not list purchased lifestyles, and therefore cannot even be used for validation.
Finally, the best functional alternative would simply by to offset the cost of the quality in BP by the cost of the appropriate lifestyle.... 9BP for Trust Fund (med) and 18BP for Trust Fund (high), but this messes up quality BP accounting (not significantly, since there are no 2BP qualities, but still... it seems ugly, plus it would only show the lifestyle as monthly on the char sheet, instead of permanent. And making it negative enough to purchase 100 months of anything would trigger warnings about negative qualities above 35BP.
Any ideas from anyone a little more familiar with the scripting language and Hero Lab in general? Am I missing something obvious?