Keep getting error for stat screen

I’m having trouble with coding the stats screen.

The error I’m getting is 'Non-exsitant variable friendly

My code looks like this on the choice stats:

*label start

	#Relationship Status Helios Sho
		*goto sho
	#Evidence Status
		*goto evidence
*label sho
	opposed_pair Friendly

*label evidence
		text name Evidence Points
		*goto start

And on my startup list I have this for code:

*title Bloodless
*author Siryn Sueng and Echo
*create character ""
*create name ""
*create friendship 25
*create dislike 25
*create evidence 25

I have attempted a number of variations on the *create such as: *create stat_friendship
I even attempted a change in the number. I started with 0 at the end of ‘friendship’ and then changed to 25. I have searched the forums but I’m genuinely tired and a little irritated that I cannot figure this out. Any help would be greatly appreciated! Thank you so much!

My first guess would be that the error message has something to do with the opposed_pair stat
You will need to have a

*create friendly

for that to work

1 Like

OMG! Thank you soooo much!!! I realized after reading your reply that I’d done something completely dumb. I had friendly instead of friendship. My *create and stat names were completely opposite of one another! It looks to be working perfectly now.

Maybe it’s a sign I need to take a break for a bit lol ^.^ Thank you again!

1 Like

Haha no worries, we all are overlooking stuff like that from time to time x)

Take care and have fun coding!

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.