Adding delay with scripting

  • #1, by daniel-lowesSunday, 09. August, 23:36 A month ago
    Is it possible to add delay tags like "p250ms" to text in the textStarted event? I want to add a global 250ms delay between audio lines.

    I gave it a try and it didn't seem to work. I can make it pause indefinitely by setting TimeToWait to -1, but I can't make it only start pausing after the audio has played.

    Newbie

    6 Posts


  • #2, by afrlmeTuesday, 11. August, 13:48 A month ago
    I'm sorry, but I don't think it's possible to get the audio duration value belonging to display texts. I had a go last night & it just ended up printing -1 & waiting... into the messages.log file.

    I too like to have pauses between display texts. Out of habit I already create pause action parts at the begin of interaction actions & between display texts. If you haven't done much on your game yet, you should probably make a start on creating pause action parts manually between the display text action parts.

    Imperator

    6842 Posts

  • #3, by daniel-lowesWednesday, 19. August, 21:33 A month ago
    Hm, is there a way to generate action parts dynamically? And add them in between text as it plays?

    Newbie

    6 Posts

Write post