PWE_PRC8/_module/nss/dante_attack1.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

31 lines
608 B
Plaintext

#include "nw_i0_generic"
/* Script generated by
Lilac Soul's NWN Script Generator, v. 1.3
For download info, please visit:
http://www.lilacsoul.revility.com */
//Goes OnPerceived of a creature
void main()
{
object oPC = GetLastPerceived();
if (!GetIsPC(oPC)) return;
if (!GetLastPerceptionSeen()) return;
object oTarget;
oTarget = GetObjectByTag("Dante");
SetIsTemporaryEnemy(oPC, oTarget);
AssignCommand(oTarget, ActionAttack(oPC));
AssignCommand(oTarget, DetermineCombatRound(oPC));
oTarget = GetObjectByTag("Dante");
AssignCommand(oTarget, ActionStartConversation(oPC, "dante_speak1"));
}