Global Events with Groups?
When I tried to put my code to use as a global event, I noticed when adding in objects, there is no way to add the objects associated with groups. (example: group.player, group.weapon, group.bullets, group.collectibles, group.enemies)
Some of my codes are associated with groups so that I can add more than one player, and using more than one collectible. However, some of my frames of my game will contain the same exact same code. I don't want to have to keep copying/pasting the same code over to a new frame. So if there was a way to make my platform engine code as global (with group objects in tact), I wouldn't have to worry about copy/pasting the same exact code over to another frame, right? But It seems I can't do that since my code contains objects associated with groups.
So if I update my platform/players code in one stage, it seems like I have to update it for the other stages to keep the game engine the same. Otherwise there will be noticeable differences if I forget to update the code in some of the stages.
So I'm wondering if there is a possible way around this? Or do all my platform engine codes have to stay in their own frames?
Re: Global Events with Groups?
Don't quote me, but I seem to recall this being an issue that people wanted fixed. I can't remember if clickteam said it was on their list of things to do or not however.
Hopefully someone with more knowledge will answer your question.
Re: Global Events with Groups?
If it is changed it won't happen before MMF3 :(
Re: Global Events with Groups?
Well man.... This would really help a lot if they added support for groups for global events.
Also, don't know if this is a software glitch or not, kind of off topic, but it is a reply in regards to the last 2 posts.
If you are in the event list editor (the one where you can see every part of your code in details) inserting a group of events have been greyed out. Seems you can't add a group events unless you are in the regular Event Editor.
Re: Global Events with Groups?
Correct you can't do that in the event list editor.
Re: Global Events with Groups?
People ask for this pretty frequently... it's been a bug since global events and qualifiers were introduced that you can't use them together. It's one of the main reasons I stopped using MMF. I wish they would at least add a simple workaround.