diff --git a/@ExileServer/addons/a3_dms/scripts/fn_SetGroupBehavior.sqf b/@ExileServer/addons/a3_dms/scripts/fn_SetGroupBehavior.sqf index 6ee6fdf..3a7b7a2 100644 --- a/@ExileServer/addons/a3_dms/scripts/fn_SetGroupBehavior.sqf +++ b/@ExileServer/addons/a3_dms/scripts/fn_SetGroupBehavior.sqf @@ -34,7 +34,7 @@ if(_difficulty == "random") then _difficulty = DMS_ai_skill_random call BIS_fnc_selectRandom; }; -_radius = missionNamespace getVariable [format["DMS_AI_WP_Radius_%1"],40]; +_radius = missionNamespace getVariable [format["DMS_AI_WP_Radius_%1",_difficulty],40]; for "_i" from 0 to 359 step 45 do { _npos = [(_pos select 0) + (sin(_i)*_radius), (_pos select 1) + (cos(_i)*_radius)]; @@ -43,4 +43,4 @@ for "_i" from 0 to 359 step 45 do { }; _wp = _group addWaypoint [_pos,_radius]; -_wp setWaypointType "CYCLE"; \ No newline at end of file +_wp setWaypointType "CYCLE"; diff --git a/README.md b/README.md index 0517969..4e454e9 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,7 @@ if (!hasInterface && !isServer) then - [Defent](https://github.com/Defent) for creating Defent's Mission System. - [eraser1](https://github.com/eraser1) for his constant codebase improvments. - [Zupa](https://github.com/Windmolders) for suggestions and coding help. +- [Nawuko](https://github.com/Nawuko) for catching a silly mistake :P - [shaworth](https://github.com/shaworth) and [KawaiiPotato](https://github.com/KawaiiPotato) for making the README all nice and pretty :)