I was just wandering if there are any serious repercussions to duplicating the function plugin and removing the "flags": pf_singleglobal.
This would allow me to work a little more Object Oriented as well as use duplicate method names (I hope?). For instance have 2 NPCs with a shoot() function that is specifically their own.
Develop games in your browser. Powerful, performant & highly capable.
Just to get the ability to name your own trigger?
The usual method is to go at it from the front, and use an instance variable to pick the instance.
Sorry I misused the term instance, I mean an object has the same method name as another. Both included in one layout would give problems.
Pretty sure that wont work in the engine, but even if it did, it really wouldn't add much functionality.
I mean suppose you want two different object to fire on the same trigger, you would just add actions for both objects in the event trigger.