Hi everyone
I'm using a global variable to create a random objects, But sometimes this event won't trigger, i don't know what's wrong with it:
Global variable = NumbersVar
On start of layout ------ System set NumbersVar to floor(random(1,52))
NumbersVar = 1
Trigger once -------- create object A
NumbersVar = 2
Trigger once -------- create object B
Etc...
Objects family on destroyed ----- System set NumbersVar to floor(random(1,52))
------------------------
Thanks for any help guys