Posted by fourwood on October 19, 1998 at 15:54:23:
In Reply to: Hey do you think this is going to work posted by Pugi on October 18, 1998 at 23:53:49:
symbols
message startup
message killed
thing player local
sound goalsnd=Accomplish1.wav local
thing jedi_1 linkid=1
thing jedi_2 linkid=1
thing jedi_3 linkid=1
int deadguys=0 localend
# ========================================================================================
code
startup:
player = GetLocalPlayerThing();
Return;
killed:
if (GetSenderId != 1) return;
deadguys=deadguys+1;
if (deadguys==3) {
jkPrintUNIString(player, 00350);
SetGoalFlags(player, 2, 2);
PlaySoundThing(goalsnd, player, 1.0, -1, -1, 0);
}
Return;
# ........................................................................................
end