![]() |
|
switch(RandomInt(9)) Help - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: switch(RandomInt(9)) Help (/Thread-switch-RandomInt-9-Help.html) |
switch(RandomInt(9)) Help - bastard016017 - 03-27-2011 instead of random 0 - 9 how do i make it like switch 1 2 3 4 5 6 to 9 then 0 back RE: switch(RandomInt(9)) Help - SuperNovaAO - 03-27-2011 Code: level.superSwitch = 0;
function doMagic() {
switch(level.superSwitch) {
case 0:
case 1:
...
case 9:
}
level.superSwitch++;
}RE: switch(RandomInt(9)) Help - zxz0O0 - 03-27-2011 (03-27-2011, 15:45)SuperNovaAO Wrote: Fixed ![]() RE: switch(RandomInt(9)) Help - SuperNovaAO - 03-27-2011 Yeah, forgot. |