Aantioch_Infernum/_module/nss/open_attack_pc.nss
Jaysyn904 22947ad4b6 Initial Upload
Initial Upload
2023-08-08 16:22:17 -04:00

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));
}