4ªU>nutscripts/vscriptsdirector_base_addonnKÆÿ°fÿÿprintl("l4d1 tank friendly fire") IncludeScript("response_testbed", this) function TnkFF_IsTalkAllL4D1(query) { local newquery = {} foreach(key,val in query) { newquery.rawset(key.tolower(),val) } local whodunit = query.who.tolower() if(whodunit == "namvet") { if("worldtalk" in newquery) { if(newquery.worldtalk.tointeger() != 1) { if("talknamvet" in newquery) { if(newquery.talknamvet.tointeger() != 1) { return true } else { return false } } else { return true } } else { return false } } else { if("talknamvet" in newquery) { if(newquery.talknamvet.tointeger() != 1) { return true } else { return false } } else { return true } } } else if(whodunit == "teengirl") { if("worldtalk" in newquery) { if(newquery.worldtalk.tointeger() != 1) { if("talkteengirl" in newquery) { if(newquery.talkteengirl.tointeger() != 1) { return true } else { return false } } else { return true } } else { return false } } else { if("talkteengirl" in newquery) { if(newquery.talkteengirl.tointeger() != 1) { return true } else { return false } } else { return true } } } else if(whodunit == "manager") { if("worldtalk" in newquery) { if(newquery.worldtalk.tointeger() != 1) { if("talkmanager" in newquery) { if(newquery.talkmanager.tointeger() != 1) { return true } else { return false } } else { return true } } else { return false } } else { if("talkmanager" in newquery) { if(newquery.talkmanager.tointeger() != 1) { return true } else { return false } } else { return true } } } else if(whodunit == "biker") { if("worldtalk" in newquery) { if(newquery.worldtalk.tointeger() != 1) { if("talkbiker" in newquery) { if(newquery.talkbiker.tointeger() != 1) { return true } else { return false } } else { return true } } else { return false } } else { if("talkbiker" in newquery) { if(newquery.talkbiker.tointeger() != 1) { return true } else { return false } } else { return true } } } else { return true } } function TnkFF_IsNotFriendlyFireL4D1(query) { local newquery = {} foreach(key, val in query) { newquery.rawset(key.tolower(), val) } if("friendlyfire" in newquery) { if(newquery.friendlyfire.tointeger() != 1) { return true } else { return false } } else { return true } } local newrules = [ { name = "ChCh_PlayerFriendlyFireTankNamvet", criteria = [ [ "concept", "PlayerFriendlyFire" ], [ "who", "Namvet" ], [ "Coughing", 0 ], [ "TankActive", 1 ], [ "Incapacitated", 0 ], [ "DamageType", "DMG_BULLET" ], [ "ZombiePresentTank", 1 ], [ TnkFF_IsNotFriendlyFireL4D1 ], [ TnkFF_IsTalkAllL4D1 ], ], responses = [ { scenename = "scenes/NamVet/FriendlyFire03.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Do I look like a target? { scenename = "scenes/NamVet/FriendlyFire04.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //You know, I would appreciate it IF YOU'D STOP SHOOTING ME! { scenename = "scenes/NamVet/FriendlyFire05.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Watch where you're shooting! { scenename = "scenes/NamVet/FriendlyFire06.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Goddamn it, watch your fire! { scenename = "scenes/NamVet/FriendlyFire07.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Jesus H Christ, I'm on your side. { scenename = "scenes/NamVet/FriendlyFire08.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Watch where you're shooting! { scenename = "scenes/NamVet/FriendlyFire10.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Watch where you point that thing! { scenename = "scenes/NamVet/FriendlyFire11.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Watch where you're shooting! { scenename = "scenes/NamVet/FriendlyFire13.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Goddamit, watch where you're shooting! { scenename = "scenes/NamVet/FriendlyFire17.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Who's side are you on, kid? ], group_params = g_rr.RGroupParams({ permitrepeats = true, sequential = false, norepeat = false, /*matchonce = false*/ }) } { name = "ChCh_PlayerFriendlyFireTankFromLouisNamvet", criteria = [ [ "concept", "PlayerFriendlyFire" ], [ "who", "Namvet" ], [ "Coughing", 0 ], [ "TankActive", 1 ], [ "Incapacitated", 0 ], [ "DamageType", "DMG_BULLET" ], [ "ZombiePresentTank", 1 ], [ "Subject", "Manager" ], [ "randomnum", 0, 30 ], [ TnkFF_IsNotFriendlyFireL4D1 ], [ TnkFF_IsTalkAllL4D1 ], ], responses = [ { scenename = "scenes/NamVet/NamVet_FriendlyFireLouis01.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Goddamnit Louis, stop shooting me! ], group_params = g_rr.RGroupParams({ permitrepeats = true, sequential = false, norepeat = false, /*matchonce = false*/ }) } { name = "ChCh_PlayerFriendlyFireTankFromFrankNamvet", criteria = [ [ "concept", "PlayerFriendlyFire" ], [ "who", "Namvet" ], [ "Coughing", 0 ], [ "TankActive", 1 ], [ "Incapacitated", 0 ], [ "DamageType", "DMG_BULLET" ], [ "ZombiePresentTank", 1 ], [ "Subject", "Biker" ], [ "randomnum", 0, 30 ], [ TnkFF_IsNotFriendlyFireL4D1 ], [ TnkFF_IsTalkAllL4D1 ], ], responses = [ { scenename = "scenes/NamVet/FriendlyFireFrancis01.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Jesus H Christ, Francis! { scenename = "scenes/NamVet/FriendlyFireFrancis02.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Jesus H Christ, Francis! { scenename = "scenes/NamVet/FriendlyFireFrancis03.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Jesus H Christ, Francis! { scenename = "scenes/NamVet/NamVet_FriendlyFireFrancis01.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Francis, check your fire! { scenename = "scenes/NamVet/NamVet_FriendlyFireFrancis02.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //What the hell are you doin' Francis? ], group_params = g_rr.RGroupParams({ permitrepeats = true, sequential = false, norepeat = false, /*matchonce = false*/ }) } { name = "ChCh_PlayerFriendlyFireTankTeengirl", criteria = [ [ "concept", "PlayerFriendlyFire" ], [ "who", "Teengirl" ], [ "Coughing", 0 ], [ "TankActive", 1 ], [ "Incapacitated", 0 ], [ "DamageType", "DMG_BULLET" ], [ "ZombiePresentTank", 1 ], [ TnkFF_IsNotFriendlyFireL4D1 ], [ TnkFF_IsTalkAllL4D1 ], ], responses = [ { scenename = "scenes/TeenGirl/FriendlyFire02.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Hey, that hurt! { scenename = "scenes/TeenGirl/FriendlyFire05.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Watch where you're shooting! { scenename = "scenes/TeenGirl/FriendlyFire06.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Stop shooting me! { scenename = "scenes/TeenGirl/FriendlyFire07.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //ow! HEY! { scenename = "scenes/TeenGirl/FriendlyFire08.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Stop it already! { scenename = "scenes/TeenGirl/FriendlyFire12.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //STOP IT! { scenename = "scenes/TeenGirl/FriendlyFire13.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Don't shoot me! { scenename = "scenes/TeenGirl/FriendlyFire14.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Hey, come on! Stop! { scenename = "scenes/TeenGirl/FriendlyFire17.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //What the hell? { scenename = "scenes/TeenGirl/FriendlyFire18.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //What the! { scenename = "scenes/TeenGirl/FriendlyFire22.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Ow! that hurt! ], group_params = g_rr.RGroupParams({ permitrepeats = true, sequential = false, norepeat = false, /*matchonce = false*/ }) } { name = "ChCh_PlayerFriendlyFireTankFromBillTeengirl", criteria = [ [ "concept", "PlayerFriendlyFire" ], [ "who", "Teengirl" ], [ "Coughing", 0 ], [ "TankActive", 1 ], [ "Incapacitated", 0 ], [ "DamageType", "DMG_BULLET" ], [ "ZombiePresentTank", 1 ], [ "Subject", "NamVet" ], [ "randomnum", 0, 30 ], [ TnkFF_IsNotFriendlyFireL4D1 ], [ TnkFF_IsTalkAllL4D1 ], ], responses = [ { scenename = "scenes/TeenGirl/TeenGirl_FriendlyFireBill01.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Bill, come on Bill! { scenename = "scenes/TeenGirl/TeenGirl_FriendlyFireBill02.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Ow. Dammit. Bill! ], group_params = g_rr.RGroupParams({ permitrepeats = true, sequential = false, norepeat = false, /*matchonce = false*/ }) } { name = "ChCh_PlayerFriendlyFireTankFromLouisTeengirl", criteria = [ [ "concept", "PlayerFriendlyFire" ], [ "who", "Teengirl" ], [ "Coughing", 0 ], [ "TankActive", 1 ], [ "Incapacitated", 0 ], [ "DamageType", "DMG_BULLET" ], [ "ZombiePresentTank", 1 ], [ "Subject", "Manager" ], [ "randomnum", 0, 30 ], [ TnkFF_IsNotFriendlyFireL4D1 ], [ TnkFF_IsTalkAllL4D1 ], ], responses = [ { scenename = "scenes/TeenGirl/NameLouis06.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Louis! (loud) ], group_params = g_rr.RGroupParams({ permitrepeats = true, sequential = false, norepeat = false, /*matchonce = false*/ }) } { name = "ChCh_PlayerFriendlyFireTankFromFrankTeengirl", criteria = [ [ "concept", "PlayerFriendlyFire" ], [ "who", "Teengirl" ], [ "Coughing", 0 ], [ "TankActive", 1 ], [ "Incapacitated", 0 ], [ "DamageType", "DMG_BULLET" ], [ "ZombiePresentTank", 1 ], [ "Subject", "Biker" ], [ "randomnum", 0, 30 ], [ TnkFF_IsNotFriendlyFireL4D1 ], [ TnkFF_IsTalkAllL4D1 ], ], responses = [ { scenename = "scenes/TeenGirl/TeenGirl_FriendlyFireFrancis02.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Ow. Knock that shit off, Francis. ], group_params = g_rr.RGroupParams({ permitrepeats = true, sequential = false, norepeat = false, /*matchonce = false*/ }) } { name = "ChCh_PlayerFriendlyFireTankManager", criteria = [ [ "concept", "PlayerFriendlyFire" ], [ "who", "Manager" ], [ "Coughing", 0 ], [ "TankActive", 1 ], [ "Incapacitated", 0 ], [ "DamageType", "DMG_BULLET" ], [ "ZombiePresentTank", 1 ], [ TnkFF_IsNotFriendlyFireL4D1 ], [ TnkFF_IsTalkAllL4D1 ], ], responses = [ { scenename = "scenes/Manager/FriendlyFire01.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Hey, man, that hurt. { scenename = "scenes/Manager/FriendlyFire03.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Do I look like one of them? { scenename = "scenes/Manager/FriendlyFire04.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //You know I would appreciate it, IF YOU'D STOP SHOOTING ME. { scenename = "scenes/Manager/FriendlyFire05.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Watch where you're shooting! { scenename = "scenes/Manager/FriendlyFire07.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Man, what the hell, quit shooting me { scenename = "scenes/Manager/FriendlyFire09.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Ow man ow! Why you shooting me! { scenename = "scenes/Manager/FriendlyFire10.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Look at my face, do I look like them? { scenename = "scenes/Manager/FriendlyFire11.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Oh what the hell, why you shootin' me { scenename = "scenes/Manager/FriendlyFire12.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //I'm gonna shoot you back next time { scenename = "scenes/Manager/FriendlyFire13.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Ahhh Mother { scenename = "scenes/Manager/FriendlyFire14.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Whoa, whoa, don't shoot, it's me! ], group_params = g_rr.RGroupParams({ permitrepeats = true, sequential = false, norepeat = false, /*matchonce = false*/ }) } { name = "ChCh_PlayerFriendlyFireTankFromBillManager", criteria = [ [ "concept", "PlayerFriendlyFire" ], [ "who", "Manager" ], [ "Coughing", 0 ], [ "TankActive", 1 ], [ "Incapacitated", 0 ], [ "DamageType", "DMG_BULLET" ], [ "ZombiePresentTank", 1 ], [ "Subject", "NamVet" ], [ "randomnum", 0, 30 ], [ TnkFF_IsNotFriendlyFireL4D1 ], [ TnkFF_IsTalkAllL4D1 ], ], responses = [ { scenename = "scenes/Manager/Manager_FriendlyFireBill01.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Old man, stop shooting me! { scenename = "scenes/Manager/Manager_FriendlyFireBill02.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Whoah, whoah whoah! Jesus, Bill, what are you doing? { scenename = "scenes/Manager/Manager_FriendlyFireBill03.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //William! Come on, man! { scenename = "scenes/Manager/Manager_FriendlyFireBill04.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Watch it, Bill! ], group_params = g_rr.RGroupParams({ permitrepeats = true, sequential = false, norepeat = false, /*matchonce = false*/ }) } { name = "ChCh_PlayerFriendlyFireTankFromZoeyManager", criteria = [ [ "concept", "PlayerFriendlyFire" ], [ "who", "Manager" ], [ "Coughing", 0 ], [ "TankActive", 1 ], [ "Incapacitated", 0 ], [ "DamageType", "DMG_BULLET" ], [ "ZombiePresentTank", 1 ], [ "Subject", "TeenGirl" ], [ "randomnum", 0, 30 ], [ TnkFF_IsNotFriendlyFireL4D1 ], [ TnkFF_IsTalkAllL4D1 ], ], responses = [ { scenename = "scenes/Manager/Manager_FriendlyFireZoey02.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //You gotta stop that shit, Zoey! { scenename = "scenes/Manager/Manager_FriendlyFireZoey05.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //[angry] Zoey! { scenename = "scenes/Manager/Manager_FriendlyFireZoey07.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //[angry] Zoey! ], group_params = g_rr.RGroupParams({ permitrepeats = true, sequential = false, norepeat = false, /*matchonce = false*/ }) } { name = "ChCh_PlayerFriendlyFireTankFromFrankManager", criteria = [ [ "concept", "PlayerFriendlyFire" ], [ "who", "Manager" ], [ "Coughing", 0 ], [ "TankActive", 1 ], [ "Incapacitated", 0 ], [ "DamageType", "DMG_BULLET" ], [ "ZombiePresentTank", 1 ], [ "Subject", "Biker" ], [ "randomnum", 0, 30 ], [ TnkFF_IsNotFriendlyFireL4D1 ], [ TnkFF_IsTalkAllL4D1 ], ], responses = [ { scenename = "scenes/Manager/Manager_FriendlyFireFrancis01.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Francis, that's MY ass your shootin'. { scenename = "scenes/Manager/Manager_FriendlyFireFrancis02.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Francis, What the HELL is wrong with you? ], group_params = g_rr.RGroupParams({ permitrepeats = true, sequential = false, norepeat = false, /*matchonce = false*/ }) } { name = "ChCh_PlayerFriendlyFireTankBiker", criteria = [ [ "concept", "PlayerFriendlyFire" ], [ "who", "Biker" ], [ "Coughing", 0 ], [ "TankActive", 1 ], [ "Incapacitated", 0 ], [ "DamageType", "DMG_BULLET" ], [ "ZombiePresentTank", 1 ], [ TnkFF_IsNotFriendlyFireL4D1 ], [ TnkFF_IsTalkAllL4D1 ], ], responses = [ { scenename = "scenes/Biker/FriendlyFire02.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Dammit! Will you knock it off! { scenename = "scenes/Biker/FriendlyFire04.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Do I look like a target? { scenename = "scenes/Biker/FriendlyFire05.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //You know I would appreciate it, IF YOU'D STOP SHOOTING ME. { scenename = "scenes/Biker/FriendlyFire06.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Watch where the hell you're shooting. { scenename = "scenes/Biker/FriendlyFire07.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Watch where you're shooting! { scenename = "scenes/Biker/FriendlyFire12.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Watch where you point that thing { scenename = "scenes/Biker/FriendlyFire13.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Dammit! Watch where you're shooting! { scenename = "scenes/Biker/FriendlyFire15.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Monsters all over the damn place, and you gotta shoot me. { scenename = "scenes/Biker/FriendlyFire16.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Quit freaking shooting me! { scenename = "scenes/Biker/FriendlyFire18.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Shoot me again, I'm gonna kick your ass. { scenename = "scenes/Biker/FriendlyFire19.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Do that again, and you're gonna be firing that thing outta your ass. ], group_params = g_rr.RGroupParams({ permitrepeats = true, sequential = false, norepeat = false, /*matchonce = false*/ }) } { name = "ChCh_PlayerFriendlyFireTankRareBiker", criteria = [ [ "concept", "PlayerFriendlyFire" ], [ "who", "Biker" ], [ "Coughing", 0 ], [ "TankActive", 1 ], [ "Incapacitated", 0 ], [ "DamageType", "DMG_BULLET" ], [ "ZombiePresentTank", 1 ], [ "randomnum", 31 ], [ TnkFF_IsNotFriendlyFireL4D1 ], [ TnkFF_IsTalkAllL4D1 ], ], responses = [ { scenename = "scenes/Biker/PainReliefSigh01.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Ahhh { scenename = "scenes/Biker/PainReliefSigh05.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //ohh ], group_params = g_rr.RGroupParams({ permitrepeats = true, sequential = false, norepeat = false, /*matchonce = false*/ }) } { name = "ChCh_PlayerFriendlyFireTankFromBillBiker", criteria = [ [ "concept", "PlayerFriendlyFire" ], [ "who", "Biker" ], [ "Coughing", 0 ], [ "TankActive", 1 ], [ "Incapacitated", 0 ], [ "DamageType", "DMG_BULLET" ], [ "ZombiePresentTank", 1 ], [ "Subject", "NamVet" ], [ "randomnum", 0, 30 ], [ TnkFF_IsNotFriendlyFireL4D1 ], [ TnkFF_IsTalkAllL4D1 ], ], responses = [ { scenename = "scenes/Biker/Biker_FriendlyFireBill01.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //AH! You havin' some kinda flashback Old Man? { scenename = "scenes/Biker/Biker_FriendlyFireBill02.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //God DAMMIT, Bill. { scenename = "scenes/Biker/Biker_FriendlyFireBill03.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Bill, quit shootin' me. { scenename = "scenes/Biker/Biker_FriendlyFireBill04.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Watch yer fire, Old Man. { scenename = "scenes/Biker/Biker_FriendlyFireBill05.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Nice Shot, Bill.That was my ass. ], group_params = g_rr.RGroupParams({ permitrepeats = true, sequential = false, norepeat = false, /*matchonce = false*/ }) } { name = "ChCh_PlayerFriendlyFireTankFromZoeyBiker", criteria = [ [ "concept", "PlayerFriendlyFire" ], [ "who", "Biker" ], [ "Coughing", 0 ], [ "TankActive", 1 ], [ "Incapacitated", 0 ], [ "DamageType", "DMG_BULLET" ], [ "ZombiePresentTank", 1 ], [ "Subject", "TeenGirl" ], [ "randomnum", 0, 30 ], [ TnkFF_IsNotFriendlyFireL4D1 ], [ TnkFF_IsTalkAllL4D1 ], ], responses = [ { scenename = "scenes/Biker/Biker_FriendlyFireZoey02.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Knock it off, Zoey. { scenename = "scenes/Biker/Biker_FriendlyFireZoey05.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //Zoey! Stop shooting me. ], group_params = g_rr.RGroupParams({ permitrepeats = true, sequential = false, norepeat = false, /*matchonce = false*/ }) } { name = "ChCh_PlayerFriendlyFireTankFromLouisBiker", criteria = [ [ "concept", "PlayerFriendlyFire" ], [ "who", "Biker" ], [ "Coughing", 0 ], [ "TankActive", 1 ], [ "Incapacitated", 0 ], [ "DamageType", "DMG_BULLET" ], [ "ZombiePresentTank", 1 ], [ "Subject", "Manager" ], [ "randomnum", 0, 30 ], [ TnkFF_IsNotFriendlyFireL4D1 ], [ TnkFF_IsTalkAllL4D1 ], ], responses = [ { scenename = "scenes/Biker/Biker_FriendlyFireLouis03.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //OW! Louis! { scenename = "scenes/Biker/Biker_FriendlyFireLouis04.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //GODDAMN IT LOUIS! Stop shootin' me. { scenename = "scenes/Biker/Biker_FriendlyFireLouis06.vcd", applycontext = {context = "FriendlyFire", value = 1, duration = 10} } //LOU-IS STOP SHOOTING ME (Snarled) ], group_params = g_rr.RGroupParams({ permitrepeats = true, sequential = false, norepeat = false, /*matchonce = false*/ }) } ] g_rr.rr_ProcessRules( newrules );