//:://///////////////////////////////////////////// //: //:: cv_pc_death.nss //:: Copyright (c) 2022 Project RATDOG //: //::////////////////////////////////////////////// /* Kills the PC outright in a conversation */ //::////////////////////////////////////////////// //:: //:: Created By: Jaysyn //:: Created On: 20220620 //:: //::////////////////////////////////////////////// void main() { //:: Declare major variables. object oPC = GetPCSpeaker(); effect eDeath = EffectDeath(); effect eDam = EffectDamage(9999); effect eLink = EffectLinkEffects(eDeath, eDam); //:: Kills the PC. ApplyEffectToObject(DURATION_TYPE_PERMANENT, eLink, oPC); }