Reply To: Events outside out graph

NodeCanvas Forums General Discussion Events outside out graph Reply To: Events outside out graph

#9377
Sanity
Participant

Yes that’s exactly what I was looking for, except now I see that the Check CSharp Event is limited to no args, and return of void, which will not work for what I have in mind.

Let me describe my problem… I am making a weapon platform (something along the lines of tower defense game). To the weapon platform object I attach components that give it capabilities… such as sense object in front of it using raycasts, shoot weapon, and upgrade. I want these components to be very modular and black-boxed so that Later I can use them on moving units and other things and have them work just fine.
When all components are attached I would use NodeCanvas to create logic that binds them together. In case of field of view sense I thought that event which sends an object(or list of objects) to node canvas whenever it senses something in would be a perfect way for it and nodecanvas to interact. Am I still making sense? 🙂

Please advise me on how to do this, is there a better way to solve this problem in a node canvas?

Thanks ahead of time 🙂