I’d like to create a stat that’s based on two other stats and I wanted to know if there was a way to do this in choicescript. For instance, if I wanted to create a combat stat that was created by adding a character’s strength and agility stats, is that something that I could do? Or if I wanted to create a stealth stat by subtracting a character’s strength stat from her agility stat, would that be possible? Any help would be appreciated!^^
All you need is the *gosub command.
*label stealth_set
*set stealth agility
*set stealth - strength
*return
Then, whenever you change strength or agility, just “*gosub stealth_set”. However, there is no way to tie the two together permanently so you do have to gosub everytime you change strength or agility.
Thanks Reaperoa!^^