I was replying to your previous message few hours ago but a lot had happen in real life and i had to dump it
And i see you kind got it but you made one huge mistake
You are checking time from start less than <
Where you should be checking greater than >
That is why it is working for you which will not work soon
Basically look time from start is a timer that runs with your game
It is not a timer you can stop or start it will just run on its own with each of your scenes
So you can only check its time by referencing it with TimeFromStart()
So TimeFromStart() will return in seconds how long your scene is running
NOW
mod( NumberA , NumberB ) works like this
Take NumberA and loop it around whatever i put in NumberB
So you have TimeFromStart() it will go from 0 1 2 3 4 … to infinity
But you don’t want that you want to loop it to go 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 and so from 0 to 5 which means it will loop 6 digits cause 0 is also accounted for
Then you write mod(TimeFromStart(),6)
And you get that
It will go from 0 to 5 and then reset to 0 and go again to 5
How about mod(TimeFromStart(),60)
Isn’t that just counting 60 secs over and over? like have we made a timer?
Well guess what you can make timer for mins hours day seconds ANYTHING you want out of it
Imagine this
You have some value that goes
0 1 2 3 4 5 6 7 8 9
You wanna loop it to 3
so mod(SomeValue,3)
And now you will get
0 1 2 0 1 2 01 2 0 < GET from mod
0 1 2 3 4 5 6 7 8 9 < SomeValue
Now that you get the idea
YES you can re use TimeFromStart in different event
But you are NOT modifying it
You are only checking its state or modified state to be precise
So mod(TimeFromStart(),2) is looping around 0 1 0 1 0 1 0 1
So it is 2 secs
And magic here comes from that condition
Compare two numbers
Check if mod(TimeFromStart(),2)
Is greater than 0,01
And that is because (i mean why its not 0)
Cause for it to work with trigger once
It 1st needs to be FALSE then it can become true
It won’t trigger ever again if it always be true
So when it resets it becomes 0,000000
So it is NOT greater than 0,01 and now when it is it can again become true and kick in action
That is why i set there such low value
And what you have WHICH IS WRONG works because you are checking if its LESS than 0,01
That is kinda one of the lowest possible time you can check in gdevelop to fake something happening only ONCE
Set that 0,01 to 0,1
And you will have very un pleasant experience with sound
Fak you picked wrong person
I am here well know of making walls of text
But if you still don’t get somthing i am ready to create more walls