Initial commit. Updated release archive.

This commit is contained in:
Jaysyn904
2024-06-20 15:47:42 -04:00
parent d14b20cb85
commit e49d03aa23
6897 changed files with 6107848 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
//::///////////////////////////////////////////////
//:: Default On Attacked
//::
//:: NW_E0_Default5.nss
//::
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
//:: If I am attacked, I attack my attacker.
//:://////////////////////////////////////////////
//:: Created By: Brent, On: April 24, 2001
//:: Modified By Aidan on Oct 2001
//:://////////////////////////////////////////////
void main()
{
object oTarget = GetAttackTarget();
object oAttacker = GetLastAttacker(OBJECT_SELF);
// SpeakString("NW_I_WAS_ATTACKED",TALKVOLUME_SILENT_SHOUT);
if (GetIsObjectValid(oAttacker) &&
!GetIsObjectValid(oTarget) &&
GetIsEnemy(oAttacker) )
{
ClearAllActions();
ActionAttack(oAttacker);
}
}