| Blockland Forums > Modification Help |
| Bullet Spread |
| << < (2/4) > >> |
| Extrude:
--- Quote from: phflack on September 19, 2011, 02:50:51 AM ---it's not random, well, there's a few different spreads which it then chooses i think, as there's a horizontal 3 spread EXACTLY the same which keeps popping up --- End quote --- it's random lol. |
| phflack:
--- Quote from: Extrude on September 19, 2011, 06:26:57 PM ---it's random lol. --- End quote --- then why is there a pattern? :I same with the Gshotgun, it just toggles between 2 spreads |
| Extrude:
getRandom hur dur |
| phflack:
--- Code: --- %x = (getRandom() - 0.5) * 10 * 3.1415926 * %spread; %y = (getRandom() - 0.5) * 10 * 3.1415926 * %spread; %z = (getRandom() - 0.5) * 10 * 3.1415926 * %spread; --- End code --- oh, just so few possibilities that it creates a pattern i was still right about it repeating itself a lot --- Quote from: Extrude on September 20, 2011, 05:17:05 PM ---hur dur --- End quote --- |
| Extrude:
It has about a 1 in 99999999 x pi chance to repeat itself. |
| Navigation |
| Message Index |
| Next page |
| Previous page |