This might have been posted about before but I couldn’t find anything like this. I do apologize if it has.
I want to create relationship stats that only appear if you go down a certain route, but I don’t know a way to put this into the stat screen. I tried
*stat_chart
*if (thisroute)
percent person
and
*if (thisroute)
*stat_chart
percent person
But they didn’t work. Again I am sorry if this has been said before.
I think you simply missed an indent.
copying from my thing here for having code do tricks:
*if ((met_heatstroke = "true") and (heatstroke_romance = "true"))
*stat_chart
percent heatstroke $!{heatstroke_name}
*if ((met_ian = "true") and (ian_romance = "true"))
*stat_chart
percent ian $!{ian_name}
these two are under a special ‘romance’ header and only appear if you met them and began a romance. otherwise
*if ((met_heatstroke = "true") and (heatstroke_romance = "false"))
*stat_chart
percent heatstroke $!{heatstroke_name}
*if ((met_ian = "true") and (ian_romance = "false"))
*stat_chart
percent ian $!{ian_name}
they’ll appear under the general relationships header
(I know I could just have the general true/false kind of variable, bear with me, I keep forgetting how to have one be false when there’s multiple ones)
2 Likes