Quick stats screen help please!


#1

Hi!
I’ll make this as short and sweet as possible.
I’m in my stats screen. The stat I want to name has a “dash” in it, but I know you can’t do that with *create , so I simply take it away on my startup. But, on the stats screen, I want the name to DISPLAY to the player with a dash.
So, I look it up. The official COG website tells me to just do “percent (insert stat name here) (insert stat DISPLAY name here)”.
Simple enough, but my situation involves an opposed pair. I try what they tell me with my harmless little opposed pair, and Choicescript gives me the dreaded error message.
“Non-existent variable (insert stat name here) (insert stat DISPLAY name here).”
What do I do? Sorry if this is a bit stupid and apologies for my essay of an explanation!
Thank you SO much in advance!


#2

So, you want something like this?

*stat_chart
   percent asdf the-stat

#3

No, they want an opposed pair stat. Try this:

*stat_chart
      opposed_pair Anger
            Not-Anger

Or, if you want custom names on both ends:

*stat_chart
      opposed_pair anger
            Lesser-Anger
            Worser-Anger

#4

That did it for me!! Thank you so so much!!! I really appreciate it!


#5

Solved below, thank you so much for your time though!!


#6

This topic was automatically closed 24 hours after the last reply. If you want to reopen your WiP, contact the @moderators.