Great idea for a thread.
Allow me to submit my own ammo randomizer, though! Not that anything is technically wrong with Faw's (very good and ambitious first script), of course.
Code:
int num;
void onFunction0() {
num = (jjRandom()%9) + 1;
p.powerup[num] = true;
p.currWeapon = num;
if (num > 1) p.ammo[num] = 50;
switch (num) {
case 1: p.showText("§1#@@@@@@||||||||B|||||||L|||||||A|||||||S|||||||T|||||||E|||||||R|||||||!"); break;
case 2: p.showText("§1#@@@@@@||||B||||O||U||||N||C||||E||R||||!"); break;
case 3: p.showText("§1#@@@@@@||||I|||C|||E|||!"); break;
case 4: p.showText("§1#@@@@@@||||S||||||||E||||||EK||||||ER|||||||!"); break;
case 5: p.showText("§1#@@@@@@|||R|||||||F|||||||!"); break;
case 6: p.showText("§1#@@@@@@||||T||||||OA||||||ST||||||ER||||||!"); break;
case 7: p.showText("§1#@@@@@@|||T|N|||||T|!"); break;
case 8: p.showText("§1#@@@@@@|||||P|E|||||P|P|||||E|R|||||! |||||||o||r ||||F|I|||||R|E|||||B|A|||||L|L|||||!"); break;
case 9: p.showText("§1#@@@@@@|||||E|||||||L|||||||E|||||||C|||||||T|||||||R|||||||O |||||||B|||||||L|||||||A|||||||S|||||||T|||||||E|||||||R|||||||!"); break;
}
}
|