I've group of events and I wish that these events occur periodically.
So, how to loop group of events?
You could set up something like every x miliseconds enable group "something".
Then at the end of that group's events disable the group, from within the group.
Or use the new toggle function, and adjust your counter accordingly.
Develop games in your browser. Powerful, performant & highly capable.
I do not fully understand you..
?an you give me the example of the first AND second method? Write here the code, pleasee
Or, for example, this file http://willhostforfood.com/access.php?fileid=70179
Why not just make it "Every 250 miliseconds"? Then you can just enable and disable the group at will.
I try to make "every x miliseconds" and enable group, and after disable, But it doesn't work properly. I just want to loop group of events (instead of repeating similar events in editor).
Look at my file above... May be you show specific example how to set appearing and disappearing of the object and loop it?
All event are looped. If you want an event to only run once every X amount of time you use Every X miliseconds. if you want to enable a group to loop every x miliseconds.
Make an event outside the group: Every X milliseconds, inverted group is activated(Group is not active)> enable group
Make your events then As the LAST event do a system > group is active> Deactivate group
You don't need to use activation or deactivation. Groups can be placed as a subevent to another event, so if the group is a subevent to an 'every X milliseconds' event, it will run the events contained within every X milliseconds.
I could be wrong but I think theres something wrong with enablling and disabling groups.
If there is, post a bug with clear steps on the tracker.
ai ai rich...