Unity Events System
Unity Events System
Any chance of integrating the event system? I'd love to be able to call functions on dialogue nodes with it.
Re: Unity Events System
Hi,
I've been considering that. The only snag is that event system hookups would be lost when importing and exporting between third party editing tools such as Chat Mapper, articy:draft, and Google Sheets.
If you or anyone else has any suggestions or requests on how to handle that case, please let me know. Otherwise I'll try to get this in the next release with the caveat that event system hookups won't be preserved when importing and exporting between third party tools.
I've been considering that. The only snag is that event system hookups would be lost when importing and exporting between third party editing tools such as Chat Mapper, articy:draft, and Google Sheets.
If you or anyone else has any suggestions or requests on how to handle that case, please let me know. Otherwise I'll try to get this in the next release with the caveat that event system hookups won't be preserved when importing and exporting between third party tools.
Re: Unity Events System
No ideas on that front! We're just using your editor (at least for now).
I got another question for you! Is there a way to ask the dialogue manager to send events to a script? I'd like to be able to listen to events on things other than actors to trigger functions (in lieu of the event system for now).
I got another question for you! Is there a way to ask the dialogue manager to send events to a script? I'd like to be able to listen to events on things other than actors to trigger functions (in lieu of the event system for now).
Re: Unity Events System
Use the Dialogue System Events component in this package: DialogueSystemEvents_20160312.unitypackage. It'll be included in the next full release of the Dialogue System. It hasn't gone through the full testing battery yet, so if you notice an event not getting called please let me know. Just add it to your Dialogue Manager and/or the actor that you're interested in watching. The Dialogue Manager is the easiest because it gets the majority of script messages, which are what this component forwards as Unity events.hannah wrote:I got another question for you! Is there a way to ask the dialogue manager to send events to a script? I'd like to be able to listen to events on things other than actors to trigger functions (in lieu of the event system for now).