I want to use the repeat event with a random range, for my world generation system. I also have extention installed. It’s called CreateMultipleCopiesOfObject. It is just copying objects for you.
The idea is really simple: At first you spawn around 3000 Objects and then randomly delete most of them. At first I tried typing the RandomInRange(1000, 2000) right in the event repeat. But it just didn’t work. After that I tried a lot of things including creating a scene variable and use it, but the hole thing just didn’t work. Im using the newest version of GDevelop so the version is not the problem. I even looked at examples in the wiki but they used variables and expressions… This post is the only way I can solve the problem, so please if you know what the problem is. Or you just have an idea, send it, this could really help a lot.
My events if you need them: