Unity Events System
Posted: Fri Mar 11, 2016 7:52 am
Any chance of integrating the event system? I'd love to be able to call functions on dialogue nodes with it.
Support and discussion forum for Pixel Crushers products
https://www.pixelcrushers.com:443/phpbb/
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).