# SetHostility

Player
5.1 OC
bool
int player1 Player whose hostility towards another player you want to change.
int player2 Player towards whom you want to change hostility.
bool hostile If `true`, the relationship is hostile. Otherwise friendly.
bool silent If not `false`, the hostility messages in the message board will be suppressed. Hostility messages are never displayed during the first frame of a round, regardless of the value of this parameter.
bool no_calls If not `false`, the callbacks RejectHostilityChange and OnHostilityChange are not executed.
Sets bilateral friendship of two players.
SetHostility(0,1,true,true); SetHostility(1,0,true,true);
Makes the first two players enemies without causing a message.
Hostile
Sven2
2007-04