Maspalio
December 14th, 2019, 13:29
Hi all,
I'm in trouble with a ruleset modification. To represent the different levels of a heathbar, i have five labels and a check type button associated at the end of each lines. Fresh, Weary, Tired, Dazed, and so on.
What i want to do is when the checkon state is activated, it returns the value "1", so i can use this in a subsequent field to calculate the right penalty. i.e. tired = 1 for checked button x (-3 for tired state) = -3
Actually i have a stringfield where i write "1". Can i swap it to a checkbox and have the "1" still counted? And how to do that?
Or to simplify, have the right penalty ported over when the button is checked. i.e tired = -3
Thanks by advance.
I'm in trouble with a ruleset modification. To represent the different levels of a heathbar, i have five labels and a check type button associated at the end of each lines. Fresh, Weary, Tired, Dazed, and so on.
What i want to do is when the checkon state is activated, it returns the value "1", so i can use this in a subsequent field to calculate the right penalty. i.e. tired = 1 for checked button x (-3 for tired state) = -3
Actually i have a stringfield where i write "1". Can i swap it to a checkbox and have the "1" still counted? And how to do that?
Or to simplify, have the right penalty ported over when the button is checked. i.e tired = -3
Thanks by advance.