29 lines
536 B
Plaintext
29 lines
536 B
Plaintext
#include "nw_i0_generic"
|
|
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 1.2
|
|
|
|
For download info, please visit:
|
|
http://www.angelfire.com/space/lilacsoul */
|
|
|
|
//put on Onopened
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetLastOpenedBy();
|
|
|
|
if (GetItemPossessedBy(oPC, "CJGuildArmour")== OBJECT_INVALID)
|
|
return;
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
object oTarget;
|
|
oTarget = GetObjectByTag("SgtTremaneFJ");
|
|
|
|
SetIsTemporaryEnemy(oPC, oTarget);
|
|
|
|
AssignCommand(oTarget, ActionAttack(oPC));
|
|
|
|
AssignCommand(oTarget, DetermineCombatRound(oPC));
|
|
|
|
}
|