generated from Jaysyn/ModuleTemplate
Initial commit
Initial commit
This commit is contained in:
27
_module/nss/oai_default3.nss
Normal file
27
_module/nss/oai_default3.nss
Normal file
@@ -0,0 +1,27 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// 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));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user