#include "nw_i0_generic" /* Script generated by Lilac Soul's NWN Script Generator, v. 2.2 For download info, please visit: http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */ //Goes OnPerceived of a creature void main() { object oPC = GetLastPerceived(); if (!GetIsPC(oPC)) return; if (!GetLastPerceptionSeen()) return; if (GetItemPossessedBy(oPC, "tradeleague1")== OBJECT_INVALID) return; if (GetAlignmentGoodEvil(oPC) != ALIGNMENT_EVIL) return; ActionSpeakString("Die enemy of Xymoria."); object oTarget; oTarget = OBJECT_SELF; AdjustReputation(oPC, oTarget, -100); SetIsTemporaryEnemy(oPC, oTarget); ActionAttack(oPC); DetermineCombatRound(oPC); }