Omer
Member
Ok so I have custom AI on my server and I've added this code to make them attack zombies:
AI init on mission.sqm:
Now when this script is executed people on the server can't pick up loot
I have no idea why. Any ideas?
_ai = _this select 0;
CIVILIAN setFriend [WEST,0];
WEST setFriend [CIVILIAN,0];
player addRating 50000;
while {alive _ai} do
{
{
_x addRating -200000;
} forEach allMissionObjects "zZombie_Base"; // attacks zombies
sleep 0.1;
};
AI init on mission.sqm:
"execVM ""attackz.sqf"";";
Now when this script is executed people on the server can't pick up loot
I have no idea why. Any ideas?