31 lines
608 B
Plaintext
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"));
|
||
|
|
||
|
}
|