Initial Upload
Initial Upload
This commit is contained in:
28
_module/nss/open_attack_pc.nss
Normal file
28
_module/nss/open_attack_pc.nss
Normal file
@@ -0,0 +1,28 @@
|
||||
#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));
|
||||
|
||||
}
|
Reference in New Issue
Block a user