I have a array of strings
Code: Select all
$notes[]
Code: Select all
$notes.append("While talking to Person A I found out that XYZ")
Code: Select all
label notes:
foreach note in notes:
*Read out the note*
Thanks in advance
Code: Select all
$notes[]
Code: Select all
$notes.append("While talking to Person A I found out that XYZ")
Code: Select all
label notes:
foreach note in notes:
*Read out the note*
Code: Select all
for note in notes:
"[note]"
Code: Select all
$notes.append("Test")
python:
for note in notes:
"[note]"
Code: Select all
default notes = []
init python:
notes.append("test")
label start:
for note in notes:
"[note]"
Code: Select all
File "game/script.rpy", line 16: expected statement.
for note in notes:
Ren'Py Version: Ren'Py 6.99.12.4.2187
Code: Select all
$ notes = ["","","","","",""]
$ notes[0] = "test"
"[notes[0]]"
"[notes[1]]"
"[notes[2]]"
"[notes[3]]"
"[notes[4]]"
"[notes[5]]"
Code: Select all
define notes = []
init python:
notes.append("test")
label start:
python:
for note in notes:
renpy.say(None, "[note]")
Users browsing this forum: Ahrefs [Bot], Nozori_Games