@WolfBeasty
debb177d-e5c6-4cbe-b258-d062dc72d14e-image.png
5b1963d1-3958-40e2-af4e-41ef5ddd0f13-image.png
For cancelling number you can use this.
67601751-1314-480a-a706-dbeec4f1d10a-image.png
795be0b7-9a11-40b3-8094-4f04a4bd1423-image.png
When using this you should also use the right status.
02ccb839-6d12-43e8-83bb-f2f6b4b1cd30-image.png
Sometimes execute, sometimes skip
-
Can someone provide me with an example or explain how to execute a section of the code sometimes, but sometimes skip it?
Thanks
-
anyone?
-
One ugly solution is to do this,
Generate random number depending on how often you want to execute it. If you want 50% execute, make random number 0 to 1 and if 0 function.
If you want 25% chance of execute generate random number 0-3
If variable == 3 execute function
else do nothingVariable_Number == Random Number 1-4
If Variable_Number == 4{
Function
}else
{
}This should execute function 1/4 of the times.
-
Thanks for this, Is there no easier way?
Cheers