Rune_PRC8/_module/nss/oai_default3.nss
Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

27 lines
629 B
Plaintext

////////////////////////////////////////////////////////////////////////////////
//
// Olander's AI
// nw_c2_default3
// by Don Anderson
// dandersonru@msn.com
//
// OnCombatRoundEnd
// Original script by Bioware
//
////////////////////////////////////////////////////////////////////////////////
#include "oai_inc_ai"
void main()
{
if(GetBehaviorState(NW_FLAG_BEHAVIOR_OMNIVORE) || GetBehaviorState(NW_FLAG_BEHAVIOR_HERBIVORE))
{
OAI_DetermineSpecialBehavior();
}
else OAI_DetermineCombatRound();
if(GetSpawnInCondition(NW_FLAG_END_COMBAT_ROUND_EVENT))
{
SignalEvent(OBJECT_SELF, EventUserDefined(1003));
}
}