if (!isServer) exitWith {};

diag_log "WASTELAND SERVER - Initializing Server Relations";

BLUFOR setFriend [BLUFOR, 1];

BLUFOR setFriend [OPFOR, 0];

BLUFOR setFriend [INDEPENDENT, 0];

BLUFOR setFriend [CIVILIAN, 0];

OPFOR setFriend [BLUFOR, 0];

OPFOR setFriend [OPFOR, 1];

OPFOR setFriend [INDEPENDENT, 0];

OPFOR setFriend [CIVILIAN, 0];

INDEPENDENT setFriend [BLUFOR, 0];

INDEPENDENT setFriend [OPFOR, 0];

INDEPENDENT setFriend [INDEPENDENT, 1];

INDEPENDENT setFriend [CIVILIAN, 0];

CIVILIAN setFriend [BLUFOR, 0];

CIVILIAN setFriend [OPFOR, 0];

CIVILIAN setFriend [INDEPENDENT, 0];

---------------------------------------------------------------------------------------------------------------------------------------------------------------

I tried this in the relations.sqf and it worked well but it prevented the players being able to pick up random spawned weapons and items and even prevented access to crates from missions.

Does anyone know why is this so and how could I get it to work with relations set like above or point me in the right direction.

I needed it set up like this to make the ai in the players group engage the mission ai.

Cheers!