Dialogs - Auto choose last dialog option

  • #10, by sebastianMonday, 04. April 2016, 09:20 8 years ago
    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 Captain

    2346 Posts


  • #11, by afrlmeMonday, 04. April 2016, 12:04 8 years ago
    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.

    Imperator

    7278 Posts

  • #12, by ke4Monday, 04. April 2016, 12:08 8 years ago
    Would be a great feature smile

    Key Killer

    810 Posts

  • #13, by sebastianMonday, 04. April 2016, 12:34 8 years ago
    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 Captain

    2346 Posts

  • #14, by afrlmeMonday, 04. April 2016, 14:19 8 years ago
    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.

    Imperator

    7278 Posts

  • #15, by sebastianMonday, 04. April 2016, 15:48 8 years ago
    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 Captain

    2346 Posts

  • #16, by afrlmeMonday, 04. April 2016, 16:05 8 years ago
    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.

    Imperator

    7278 Posts