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:
33
_module/nss/ra_npc_attack_pc.nss
Normal file
33
_module/nss/ra_npc_attack_pc.nss
Normal file
@@ -0,0 +1,33 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//::
|
||||
//:: ra_npc_attack_pc.nss
|
||||
//::
|
||||
//:: Copyright (c) 2022 Project RATDOG
|
||||
//::
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Makes speaking NPC attack the PC speaker
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//::
|
||||
//:: Created By: Jaysyn
|
||||
//:: Created On: 20220618
|
||||
//::
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
#include "nw_i0_generic"
|
||||
|
||||
void main()
|
||||
{
|
||||
//:: Declare major variables
|
||||
object oPC = GetPCSpeaker();
|
||||
object oTarget = OBJECT_SELF;
|
||||
|
||||
//:: Set PC to enemy
|
||||
SetIsTemporaryEnemy(oPC, oTarget);
|
||||
|
||||
//:: Attack PC
|
||||
ActionAttack(oPC);
|
||||
DetermineCombatRound(oPC);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user