Hi. I have an upcoming game that uses variables and I want to know two things.
1) How do I display the variable in the game text?
e.g. Your final score is 200
2) How do I change the game text based on the variable?
e.g. If score >100:
"You did very well."
if score <100:
"you did not do very well."
To the left of your title, you will see something like this ":="
Click that. Once you click it, a page will pop up. Inside the page, type this
If %SCORE > 100 THEN
$PAGETEXT := "You did very well."
IF %SCORE < 100 THEN
$PAGETEXT := "You did not do very well."
If you want to display the variable in the game text, then type this in your game text,
Your final score is %%SCORE%%
I'll try that tomorrow. :)
I have scripting enabled for my game.