scorestreaks = getArrayKeys(level.killstreaks);
for(i = 0; i < 3; i++)
{
self iprintln("Streak: " + scorestreaks[i]);
self.killstreak[i] = scorestreaks[i];
}
scorestreaks = array_randomize(level.killstreaks);
for(i = 0; i < 3; i++)
{
self.killstreak[i] = scorestreaks[i];
}
self.killstreak[1] = "killstreak 1 here";
self.killstreak[2] = "killstreak 2 here";
self.killstreak[3] = "killstreak 3 here";
self.killstreak[1] = "killstreak 1 here";
self.killstreak[2] = "killstreak 2 here";
self.killstreak[3] = "killstreak 3 here";
self.killstreak[0] = "killstreak_spyplane";
self.killstreak[1] = "killstreak_missile_drone";
self.killstreak[2] = "killstreak_supply_drop";
giveLowStreaks()
{
scorestreaks = [];
scorestreaks[scorestreaks.size] = "killstreak_spyplane";
scorestreaks[scorestreaks.size] = "killstreak_missile_drone";
scorestreaks[scorestreaks.size] = "killstreak_supply_drop";
self changeScorestreakSetup(scorestreaks);
}
changeScorestreakSetup(scorestreaks)
{
actionSlotOrder = getActionSlotOrderArray();
for(scorestreaksIndex = 0; scorestreaksIndex < scorestreaks.size; scorestreaksIndex++)
{
self.killstreak[scorestreaksIndex] = scorestreaks[scorestreaksIndex];
killstreakType = maps\mp\killstreaks\_killstreaks::getKillstreakByMenuName(scorestreaks[scorestreaksIndex]);
weapon = maps\mp\killstreaks\_killstreaks::getKillstreakWeapon(killstreakType);
self setActionSlot(actionSlotOrder[scorestreaksIndex], "weapon", weapon);
}
}
getActionSlotOrderArray()
{
actionSlotOrder = [];
actionSlotOrder[actionSlotOrder.size] = 4;
actionSlotOrder[actionSlotOrder.size] = 2;
actionSlotOrder[actionSlotOrder.size] = 1;
return actionSlotOrder;
}
self.killstreak[0] = "killstreak_spyplane";
self.killstreak[1] = "killstreak_missile_drone";
self.killstreak[2] = "killstreak_supply_drop";
self.killstreak[0] = "killstreak_spyplane";
killstreakType = maps\mp\killstreaks\_killstreaks::getKillstreakByMenuName(self.killstreak[0]);
weapon = maps\mp\killstreaks\_killstreaks::getKillstreakWeapon(killstreakType);
self setActionSlot(4, "weapon", weapon);
self.killstreak[1] = "killstreak_missile_drone";
killstreakType = maps\mp\killstreaks\_killstreaks::getKillstreakByMenuName(self.killstreak[1]);
weapon = maps\mp\killstreaks\_killstreaks::getKillstreakWeapon(killstreakType);
self setActionSlot(2, "weapon", weapon);
self.killstreak[2] = "killstreak_supply_drop";
killstreakType = maps\mp\killstreaks\_killstreaks::getKillstreakByMenuName(self.killstreak[2]);
weapon = maps\mp\killstreaks\_killstreaks::getKillstreakWeapon(killstreakType);
self setActionSlot(1, "weapon", weapon);
Copyright © 2026, NextGenUpdate.
All Rights Reserved.