Ok..I will try to explain. <img src="{SMILIES_PATH}/icon_e_confused.gif" alt=":?" title="Confused">
affter Ajax...
first you need to check https://www.scirra.com/manual/141/files
Dialoge text looks like:
(left double click..on txt file to check this)
on end of each line i put Separator #.....
now check https://www.scirra.com/manual/126/system-expressions
tokenat(src, index, separator)
Return the Nth token from src, splitting the string by separator. For example, tokenat("apples#oranges#bananas", 0, "#") returns apples.
capx has several Spot(redSprites)..each Spot has Id ..first.Id=0; second.Id=1..............
so ..
if player overlapping first spot..text will display first line from Dialogue...if second..then .text will display second line from Dialogue..etc <img src="{SMILIES_PATH}/icon_e_confused.gif" alt=":?" title="Confused">