SOLVED:
1.)
2.)How do you have a "jump" send you to another .rpy
because I haveand everytime I getCode: Select all
jump GV_Test:
I assume there's a specific way to send to another .rpy?Code: Select all
ScriptError: could not find label 'GV_Test'.
3.)How exactly do I get it where a specific text is based on a variable.
Let's say I havein the next following line I would have something similar toCode: Select all
$ aline = 4
<-- completely fake and does not work, I did however try this.Code: Select all
"You have ($ aline) points
and it would come outWhat is exactly the correct way to do this.Code: Select all
"You have 4 points"
Another problem. While trying to run this it keeps looping between
Code: Select all
if aline >= 0[code]
[code]
label a_execution:
if aline >= 10:
"that is enough, you \"won the game\" (well rather a)"
jump GV_End
if aline >= 3:
"you gained 1 experience for a. You now have 4, rank up. "
$ aline += 1
jump GV_Test
if aline >= 0:
"you gained 1 experience for a"
$ aline += 1
jump GV_Test
label b_execution:
if bline >= 0:
"you gained 1 experience for b"
$ bline += 1
jump GV_Test
if bline = 3:
"you gained 1 experience for b. You now have 4, rank up. "
$ aline += 1
jump GV_Test
if bline = 10:
"that is enough, you \"won the game\" (well rather b)"
jump GV_End
Code: Select all
I'm sorry, but an uncaught exception occurred.
SyntaxError: invalid syntax (script.rpy, line 113)
While running game code:
- script at line 113 of /Downloads/renpy-6.11.1/Test Project/game/script.rpy
-- Full Traceback ------------------------------------------------------------
File "/Downloads/renpy-6.11.1/renpy/bootstrap.py", line 254, in bootstrap
File "Downloads/renpy-6.11.1/renpy/main.py", line 310, in main
File "Downloads/renpy-6.11.1/renpy/main.py", line 93, in run
File "3/Downloads/renpy-6.11.1/renpy/execution.py", line 259, in run
File "Downloads/renpy-6.11.1/renpy/ast.py", line 1301, in execute
File "Downloads/renpy-6.11.1/renpy/python.py", line 994, in py_eval
File "/Downloads/renpy-6.11.1/renpy/python.py", line 243, in py_compile
SyntaxError: invalid syntax (script.rpy, line 113)
While running game code:
- script at line 113 of /Downloads/renpy-6.11.1/Test Project/game/script.rpy
Ren'Py Version: Ren'Py 6.11.1b
I'll probably have more and instead of cluttering the entire forum with like 40 topics by me I'm gonna just keep updating this post or posting in this topic :X.