how can I call a subgroup ?
system > on start of layout > set group enemy01 activated
but its not working.
It should be working.
Are the superior groups (Level01, enemy) activated too ?
If you activate a subgroup but that its main group isn't activated, logicaly the subgroup won't be executed.
my real problem is:
i have a global variable called Score on the first layout.
when i go to layout 2 , i want the Score to continue counting, not reset...
so i want to make a "GLOBAL" Event sheet, put all Levels and mechanics in there, with all groups and subgroups organized, so i can share the same Event sheet ( GLOBAL ) across multiple layouts.
If you don't modify the value of the global variable score in your layout 2, it won't get reseted. That's the purpose of global variable, it is global through different layouts and event sheets.
Check the How do I FAQ, in the section "Variables (Local/Global/Instances)".
There's a few example of the intended use/behavior of variables.
For a "global sheet" you can do it too.
Put all your abstract mechanisms in a sheet (stuff that isn't layout related/will not only happen in layout 1 or 2 or ...) and include this sheet in each event sheets setted to your layouts that will require those mechanisms.
You can check my capx of Space Jinx (also listed in the FAQ) it is a complex project, but it is commented and uses inclusion of event sheets.