Game Development Community

Could someone please explain the signal system?

by Peter C · in Torque 3D Professional · 04/12/2013 (9:10 am) · 2 replies

I'm looking at trying to move at least some stuff to components, and I'm trying to figure out how the signal system works. I can't seem to find any documentation on it, and I need to know what I'm doing in order to have components communicate with each other. Could someone please explain the signal system?

#1
04/12/2013 (12:27 pm)
@Peter,
I don't know that the component system is complete. Last I heard it was a WIP.

@GG,
Is this true?
#2
04/12/2013 (4:25 pm)
I'm not sure what signal system you're talking about in components. They have registered interfaces, but I don't see anything in there having to do with "signals".

Perhaps you could bring T2D's behavior system over and use that - the behaviors are derived from simComponent and they implement inter-behavior events. See Torque2D/engine/source/component/behaviors/ for details.

Unless you're just looking for a message system - then use an EventManager.