Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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.