Since engine version: 1.0 OC
Determines whether two players are enemies. Two players will be opposed if at least one of them has declared hostility towards the other.
bool Hostile(int player1, int player2, bool check_one_way);
- First player
- Second player
- [opt] If
true, checks only if player1 is hostile towards player2 but not in reverse.
The object can only be collected by friendly players.
See also: SetHostility