Point-Based Endings
Posted: Tue Aug 19, 2008 6:48 pm
Forgive me for asking what is probably a real n00bish question, but I'm having a little trouble with this. I actually want to work the system so that it's like a dating system (with three characters, where the ending results with which girl the main character is paired up with depending on who has the highest points).
I tried editing it around, and got an error message. So, instead, I thought I'd try copy and pasting exactly what is on the page and seeing what actually happens. In fact, I got the same error message. I've copied exactly what is in the above link, no changes and nothing added and all that.
As such, the error continues on to include each and every single "elif" statement there. Sorry if this is incredibly obvious as to what the problem is.
(As a minor side-note, considering I've not done this before, how would I go about increasing the values of each attribute as well? And, on a similar note, can the points go below 0, or does it stop at 0?)
I tried editing it around, and got an error message. So, instead, I thought I'd try copy and pasting exactly what is on the page and seeing what actually happens. In fact, I got the same error message. I've copied exactly what is in the above link, no changes and nothing added and all that.
Code: Select all
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
On line 18 of D:\Users\BTK\Documents\renpy-6.6.3\Feather/game/script.rpy: if statement expects a non-empty block.
if winners == [0]:
^
On line 20 of D:\Users\BTK\Documents\renpy-6.6.3\Feather/game/script.rpy: elif clause must be associated with an if statement.
elif winners == [1]:
^
On line 22 of D:\Users\BTK\Documents\renpy-6.6.3\Feather/game/script.rpy: elif clause must be associated with an if statement.
elif winners == [2]:
^
On line 24 of D:\Users\BTK\Documents\renpy-6.6.3\Feather/game/script.rpy: elif clause must be associated with an if statement.
elif winners == [3]:
^
(As a minor side-note, considering I've not done this before, how would I go about increasing the values of each attribute as well? And, on a similar note, can the points go below 0, or does it stop at 0?)