...this is a composite of Errant AI's work:
;Artificial Intelligence Script::::::::::::::::::::::::::::::::::::::
;DarkAI Appear Script
;FPSC v1.17 & Above
desc = DarkAI Appear Team X
;ADDAITEAM=X - tells the game that the entity calling the FPI is
;being added as a member of the team number defined by X.
;Any number you like can be used as the team number, but only a
;maximum of only 20 uniquely numbered teams may be loaded
into the system at one time.
;By default, all teams are neutral to each other until otherwise
;scripted.
;By default, team number 1 is reserved for the player and his/her
;team members.
;Trigger
;ADDAITEAM=X - defines on which team NPC is to be added.
:state=0:setalphafade=100,addaiteam=X,state=1
;AIADDENEMY=X Y|Y - defines enemies:
;AIADDENEMY=1 2|4|5 sets the enemy of team 1 as team 2, 4,
;and 5. Team 2, 4, and 5 considers team 1, 3, and 6 to be an enemy,
;while neutral to each other. Unless otherwise scripted,
;Team 2, 4, and 5 will be neutral to team 7 and 8.
;AIADDALLY=X Y|Y - defines allies:
;AIADDALLY=1 3|6 sets the ally of team 1 as team 3 and 6. Team
;3 and 6 considers team 1 to be an ally, while neutral to each other.
;Team 3 and 6 considers team 2, 4, and 5 to be an enemy.
;AIADDNEUTRAL=X Y|Y - defines neutrality:
;AIADDNEUTRAL=1 7|8 sets team 1,7, and 8 as neutral to each other.
;Unless otherwise scripted, team 7 and 8 will be neutral to team 2, 4,
;and 5.
:state=1:aiaddenemy=X Y|Y,aiaddally=X Y|Y,aiaddneutral=X Y|Y,state=2
:state=2:runfpidefault=1
;End of Script::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
