Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

display narrator text with Luo

  • #1, by petertermanhansen 4 years ago Zitieren
    Hi
    I want to use Luo to choose a narrator-ext depending on some variables.
    Is there a way to use the narrator-cmd wih Luo?

    Regard Peter
  • #2, by petertermanhansen 4 years ago Zitieren
    Hi again
    When I right-click on an action there is an option for 'Lua path'
    And it  gives this:
    call Scenes.SceneChar.Actions["At beginning of scene"].ActionParts["Narration: test"]

    How to use this in Lua

    Regards Peter

  • #3, by afrlme 4 years ago Zitieren
    I don't think you can start an action like that. you could insert them into called by other action blocks & then call those actions with Lua script, but that seems overkill when you could just create a value & use elseif value action parts to determine which one to use.
  • #4, by petertermanhansen 4 years ago Zitieren
    The issue is that I have 12 scenes that needs the same descision-table. I have to repeat almost identical actions in each scene. 

    If I could call just one lua-script with parameters, the code would so much easer to maintan.