[T1] Request: onkill take ss script

iblis
09-01-2003, 04:16 PM
on sniper rifle kill, take ss. just like VP has with the MAs.

quietxpanic
09-01-2003, 08:11 PM
$pics::timeDelay = 0.15;
$pics::Disc = "FALSE";
$pics::Laser = "TRUE";
Event::Attach(EventKillTr ak, printscreen);
KillTrak::DeathMessage("%1 mows down %3 teammate, %2", "Teamkill");

function printscreen(%killer, %victim, %weapon) {
echo("Weapon = " @ %weapon);
//%disc = "Disc Launcher";
//%lase = "Laser Rifle";

if (%killer != GetManagerID()) return;
if (%weapon == "Teamkill" && (getMountedItem(0) == 21 || getMountedItem(0) == 22)) {
schedule("screenShot(MainWindow);", $pics::timeDelay);
return;
}
if ($pics::Disc != "False" && (String::findSubStr(%weap on,"disc") >= 0 || String::findSubStr(%weapo n,"Disc") >= 0)) {
schedule("screenShot(MainWindow);", $pics::timeDelay);
return;
}
if ($pics::Laser == "TRUE" && %weapon == "Laser Rifle") {
schedule("screenShot(MainWindow);", $pics::timeDelay);
return;
}
}

GreyHound
09-02-2003, 11:52 AM
//for vikingpack (or any other fstat supporting pack i think) or even any pack?? dunno
//open the active.cs and find this function and replace it with the one below

function remoteKillUpdate(%serverI d, %victimId, %killerId, %weapon)
{
Event::Trigger(eventKillT rak, %serverId, %victimId, %killerId, $DamageType[%weapon]);
if($Viking::MAscreen){
if($myid == %killerId){
if($DamageType[%weapon] == $DamageType[6]){
schedule("screenShot(MainWindow);", $Viking::ScreenDelay);
}
}
}
}

insidious
09-02-2003, 02:17 PM
gay

Hilikus
09-02-2003, 02:22 PM
:browsmile

Amadeus
09-02-2003, 02:33 PM
Why the sniper rifle? I think any loser who can be killed by an ELF gun deserves to be immortalized.

Wufei
09-02-2003, 10:15 PM
Why the sniper rifle? I think any loser who can be killed by an ELF gun deserves to be immortalized.
Sarca and terra are pretty good with the elf heh