I'm creating a level system for something I'm making and I seem to be unable to do a few things. One of the things I would like to do is create a cap for leveling so something where if you wanted to increase speed you could run on a treadmill to increase your speed by one level (one level each time you use the treadmill) but if I want to set a level cap so you could not use the treadmill how would I go about doing so? Also, I plan to have a system where you can have someone who is faster by one, just as fast, or slower by 1, using a (I think its called radio when you have a single choice you can pick if not please explain what that is) So how would I create something where no matter what speed you are the other person is always (faster, equal to, slower) compared to you? (For basic leveling I am using commands like: (Set: $PlayerSpeed to it +1). Thank You In Advance. (Also I Am Using Twine 2.0, Harlow Format)
Comments
eg. Lets say that the maximum $PlayerSpeed is 10, so if you only wanted to show the treadmill option if the player's current $PlayerSpeed was lower than that you could do the following: ... or if you only wanted to add one to the $PlayerSpeed variable if it's current value was less than the maximum then you could do the following:
I believe when you say radio you may be talking about a radio button, which is a HTML input type that can be used in groups and where only one radio button within a particular group can be selected at any time. Unfortunately Harlowe does not have built-in support for this input type and it would require the use of Javascript code to add it, although there are other ways to emulate a three choice situation.
Is this what you meant?