Message System in Dialog System

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
NotVeryProfessional
Posts: 150
Joined: Mon Nov 23, 2020 6:35 am

Message System in Dialog System

Post by NotVeryProfessional »

I just noticed that there's an entire message system built in to the Dialog System.

Can I use this to pass messages between my game objects as well, replacing the message system I am currently using? One principle in software development is to avoid unnecessary complexity, so if possible I'd like to use one message system and not two.

So can the message system send arbitrary messages? How to subscribe to them and emit events? The documentation is a bit sparse in that.
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Message System in Dialog System

Post by Tony Li »

Yes, you absolutely can. It's a pretty efficient message system, too, given its flexibility.

I just wrote a How To for it:

How To: Use Pixel Crushers Message System
NotVeryProfessional
Posts: 150
Joined: Mon Nov 23, 2020 6:35 am

Re: Message System in Dialog System

Post by NotVeryProfessional »

Amazing! This purchase is turning out to be worth its weight in gold. :-)
Post Reply