SUGGESTION: eEventStartDialog and eEventEndDialog

Started by monkey0506, Tue 01/12/2009 18:30:26

Previous topic - Next topic

monkey0506

I did some digging around and back in 2005 CJ said:

Quote from: Pumaman on Mon 07/03/2005 19:21:03I was thinking about some sort of on_event_always function, which could be called for events like StartDialog, ENdDialog, StartDisplaySpeech, EndDisplaySpeech, etc and let you handle these things better in the script. That might be the cleanest long-term solution to this sort of thing.

There's also a related tracker entry. However, I wasn't able to find a proper thread for this suggestion anywhere, so here it is! :D

Those who are using custom dialog rendering (like myself) can already use dialog_options_get_dimensions as a workaround for eEventStartDialog. Those who are just using the built-in system might find the same functionality useful though.

Particularly the reason I'm suggesting this is the same as those who requested it back in 2005, to be able to hide/restore GUIs during dialogs. Beyond that I would also find it useful to be able to track the currently running dialog. I could work around this by simply duplicating code for every single dialog, but that's exactly the type of thing I'm trying to avoid. :P

Pumaman

Blimey, has it really been that long? Thanks for the reminder, yes this is still something that would be useful to add.

SMF spam blocked by CleanTalk