2025/07/28 Update

Added PEPS AI
Full compile.
This commit is contained in:
Jaysyn904
2025-07-28 16:16:23 -04:00
parent 222171781b
commit 4f42bd0a2a
1530 changed files with 45560 additions and 1208 deletions

View File

@@ -0,0 +1,39 @@
//::///////////////////////////////////////////////
//:: Default: On Disturbed
//:: NW_C2_DEFAULT8
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Calls the end of combat script every round
*/
//:://////////////////////////////////////////////
//:: Created By: Preston Watamaniuk
//:: Created On: Oct 16, 2001
//:: Modified by Zarathstra217
//::///////////////////////////////////////////
// * Make me hostile the faction of my last attacker (TEMP)
// AdjustReputation(OBJECT_SELF,GetFaction(GetLastAttacker()),-100);
// * Determined Combat Round
#include "NW_I0_GENERIC"
void main()
{
ExecuteScript("prc_npc_disturb", OBJECT_SELF);
/*
object oTarget = GetLastDisturbed();
if(!GetIsObjectValid(GetAttemptedAttackTarget()) && !GetIsObjectValid(GetAttemptedSpellTarget()))
{
if(GetIsObjectValid(oTarget))
{
DetermineCombatRound(oTarget);
}
}
if(GetSpawnInCondition(NW_FLAG_DISTURBED_EVENT))
{
SignalEvent(OBJECT_SELF, EventUserDefined(1008));
}
*/}