2025/07/20 Update
Updated PEPS AI. Full compile.
This commit is contained in:
@@ -17,13 +17,14 @@ void main()
|
||||
{
|
||||
object oAssociate;
|
||||
int nIndex;
|
||||
for(nIndex = 2; nIndex < 5; nIndex++)
|
||||
for(nIndex = 2; nIndex < 6; nIndex++)
|
||||
{
|
||||
oAssociate = GetAssociate(nIndex, oCreature);
|
||||
if(oAssociate != OBJECT_INVALID)
|
||||
{
|
||||
SetIsDestroyable(FALSE, FALSE, FALSE);
|
||||
ChangeFaction(oAssociate, oCreature);
|
||||
SetIsDestroyable(FALSE, FALSE, FALSE, oAssociate);
|
||||
DelayCommand(0.1, ChangeToStandardFaction(oAssociate, STANDARD_FACTION_HOSTILE));
|
||||
DelayCommand(3.0, SetIsDestroyable(TRUE, FALSE, FALSE, oAssociate));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user