Fixed creature hak name, added more quest persistence
Fixed creature hak name, added more quest persistence. Co-Authored-By: Awetizmo <107700980+Awetizmo@users.noreply.github.com>
This commit is contained in:
29
_module/nss/ra_fac_attack_pc.nss
Normal file
29
_module/nss/ra_fac_attack_pc.nss
Normal file
@@ -0,0 +1,29 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//::
|
||||
//:: ra_fac_attack_pc.nss
|
||||
//::
|
||||
//:: Copyright (c) 2022 Project RATDOG
|
||||
//::
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Turns the speaking NPC's faction against the
|
||||
PC & attacks.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//::
|
||||
//:: Created By: Jaysyn
|
||||
//:: Created On: 20220619
|
||||
//::
|
||||
//:://////////////////////////////////////////////
|
||||
#include "nw_i0_generic"
|
||||
|
||||
void main()
|
||||
{
|
||||
//:: Declare major variables
|
||||
object oPC = GetPCSpeaker();
|
||||
object oNPC = OBJECT_SELF;
|
||||
|
||||
//:: Set the faction to hate the player, then attack the player
|
||||
AdjustReputation(oPC, oNPC, -100);
|
||||
DetermineCombatRound(oPC);
|
||||
}
|
||||
Reference in New Issue
Block a user