Dialogs - Auto choose last dialog option

  • #10, von sebastianMontag, 04. April 2016, 09:20 Uhr vor 9 Jahren
    Well i could try the following:
    Checking in the Main loop if a dialog exists at the moment (lua) and then call a function which counts the dialog part links inside it which are left (partly done as mentioned above). When count is 1 exec the cursor repositioning

    Thread König

    2346 Posts


  • #11, von afrlmeMontag, 04. April 2016, 12:04 Uhr vor 9 Jahren
    You could also create a loop inside of a called by other action block without Lua using the jump to x action part - would need to include a small pause before looping back to the beginning though as fast looping in the editor often returns an error as the engine can't handle it for whatever reason.

    P.S: I can ask Simon if it would be possible for him to add an option somewhere for the dialog system so that the the users (you) can tick an option to determine if the last remaining option should be automatically played & then the dialog closed or whether the player has to manually click on all the dialogs.

    Foren Imperator

    7285 Posts

  • #12, von ke4Montag, 04. April 2016, 12:08 Uhr vor 9 Jahren
    Would be a great feature smile

    Tastenjunkie

    810 Posts

  • #13, von sebastianMontag, 04. April 2016, 12:34 Uhr vor 9 Jahren
    That would be great.

    Also it would be cool that if you change the dialog box settings (size/position/...) via lua while showing the dialogparts Ingame that it would immediately take effect on the current displayed parts and not onlyfor the next (updated) dialog parts...

    Thread König

    2346 Posts

  • #14, von afrlmeMontag, 04. April 2016, 14:19 Uhr vor 9 Jahren
    That would be great.

    Also it would be cool that if you change the dialog box settings (size/position/...) via lua while showing the dialogparts Ingame that it would immediately take effect on the current displayed parts and not onlyfor the next (updated) dialog parts...


    Are you talking about leaving the dialog box displayed after selecting a dialog? In regards to moving or resizing the box, I don't think it's possible.

    Foren Imperator

    7285 Posts

  • #15, von sebastianMontag, 04. April 2016, 15:48 Uhr vor 9 Jahren
    For the dialogbox you can configure for example its size/position.
    When changing the size via lua ingame while the dialogbox is displayed nothing happens until you show the dialogbox again. Id like to have a live Update :3

    Thread König

    2346 Posts

  • #16, von afrlmeMontag, 04. April 2016, 16:05 Uhr vor 9 Jahren
    I suppose it might be possible if they changed some things around in the code. I asked Simon for something recently (can't remember what it is off the top of my head) as it only updated when you reloaded the current scene & it was something that should have updated in real time - I'd go find out what it is but I can't be bothered scouring thorough previous skype or steam chats.

    Foren Imperator

    7285 Posts