Thanks for the help! Trying this and getting an error. I've tried multiple ways of formatting but still getting a syntax error for that comma after the JSON.Get. Here is the syntax:
(JSON.Get("scene."& scene & ".dialogues." & currentTextIndex & ".line"), "%", str(sin(time * 300 + loopindex * 90) * 8))
You can't store loopindex or any expressions in JSON. Here's what I would do:
> JSON:
{"line": "Hello to you in this example [offsetY=%] wavy text [/offsetY]."}
Action:
Text Set text to replace(JSON.get("line"), "%", str(sin(time * 300 + loopindex * 90) * 8))