18 lines
504 B
Plaintext
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);
|
|
}
|