Name | Author | Game Mode | Rating | |||||
---|---|---|---|---|---|---|---|---|
Anniversary Bash 26 CTF | Jazz2Online | Capture the flag | N/A |
void GiveFullSeekerAmmo(jjPLAYER@ play) {
play.ammo[WEAPON::SEEKER] = 50;
play.currWeapon = WEAPON::SEEKER;
for (int i = 1; i < jjObjectCount; i++) {
if (jjObjects[i].eventID == OBJECT::SEEKERPOWERUP) {
jjAddParticlePixelExplosion(play.xPos, play.yPos, jjObjects[i].curFrame, jjObjects[i].direction, 2);
}
}
jjSample(play.xPos, play.yPos, SOUND::COMMON_GLASS2, 63);
jjSample(play.xPos, play.yPos, SOUND::COMMON_GLASS2, 63); //twice to amplify volume
}
void onPlayer(jjPLAYER@ play) {
play.powerup[WEAPON::SEEKER] = true;
if (jjGameTicks == 70) {
GiveFullSeekerAmmo(play);
}
if (play.health == 0) {
play.score = 70;
}
if (play.health > 0 && play.score > 0) {
if (--play.score == 0) {
GiveFullSeekerAmmo(play);
}
}
}
Jazz2Online © 1999-INFINITY (Site Credits). We have a Privacy Policy. Jazz Jackrabbit, Jazz Jackrabbit 2, Jazz Jackrabbit Advance and all related trademarks and media are ™ and © Epic Games. Lori Jackrabbit is © Dean Dodrill. J2O development powered by Loops of Fury and Chemical Beats.
Eat your lima beans, Johnny.