SOLVED: Point System - Who has THE MOST points

SOLVED: Thank you MMG & Dara.Amarie

Hi all,

I’ve been playing around with a new concept for a story, and a point system would be necessary. I’ve done some reading, and I can’t find the answer to this specific question. Let’s say I have two Love Interests, and I want the MC to get asked on a date by the LI with more points. Am I able to code something like:

“LI with more points asks MC on a date” OR, does it have to be “if LI1= >30 asks MC on a date”. If it’s the latter, what if both LIs have more than 30 points? I guess the goal here would be to rank LIs, and I don’t know if that’s possible.

I hope this makes sense, and any help is appreciated! Thanks!

1 Like

i guess then u have to write “if LI1 < LI2” and vice versa for LI2

1 Like

With 2 characters you can compare their points like this

if (CHAR1 > CHAR2) {

} elif (CHAR1 < CHAR2) {

} else {

}

2 Likes

That is exactly what I was looking for, thank you to both of you!

1 Like

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