Hello
Is it possible to activate a group by expression rather then just the picker it gives you in Fusion 2.5+ ?
Thank you
Hello
Is it possible to activate a group by expression rather then just the picker it gives you in Fusion 2.5+ ?
Thank you
non je ne croix pas qui y ait cette fonction, il faut la coder manuellement
Workaround is to put it in a loop then call loop through expression
on loop deactivate mygroup
un petit mfa pour nous montrer peut etre please?
Activate group by expression
ActivateGroupExpression.mfa
merci, effectivement il faut le coder, je pense que punchbird voulait savoir si il y avait un option "calcul" un peu comme pour "sauter a une scene"
Being able to reference groups via expression would be a real game changer. I believe it's a necessary addition considering that activating/deactivating groups is a common optimization strategy for MMF/CTF-made games.
AH thank you for all the replies. It would indeed be a game changer!
The MFA is good but not quite what I would want.
My game is a single frame which has a layer, group of events, and global value corresponding to each screen.
So global value = "screen one" then events group "screen one" is active and layer "screen one" is visible
Was hoping to handle the switch with a single line but no biggie, just a few extra lines.
Clickteam people if you're reading this, it would be great to allow group activation by expression![]()
To activate with a value change the loop name to
on loop “Group ” + Str(global value)
I’ve read activating/deactivating groups is expensive
Really? I must say I've not come across that. I'd be interested to know if the action of De/Activating groups is performance-heavy or not. However, your performance can benefit certainly by having redundant/expensive events kept in deactivated groups until needed. I'm thinking mainly about overlap conditions involving "inactive" objects (however your game defines those) & "on loop" events