PWE_PRC8/_module/nss/start_fight.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

18 lines
504 B
Plaintext

void main()
{
object oBoxerRed = GetObjectByTag("BOXER_RED");
object oBoxerBlue = GetObjectByTag("BOXER_BLUE");
SetIsTemporaryEnemy(oBoxerRed,oBoxerBlue);
SetIsTemporaryEnemy(oBoxerBlue,oBoxerRed);
AssignCommand(oBoxerRed,ClearAllActions());
AssignCommand(oBoxerRed,ActionAttack(oBoxerBlue));
AssignCommand(oBoxerBlue,ClearAllActions());
AssignCommand(oBoxerBlue,ActionAttack(oBoxerRed));
SetLocalInt(oBoxerRed,"Fight",1);
SetLocalInt(oBoxerBlue,"Fight",1);
}