This commit is contained in:
Defent 2015-09-06 19:11:07 +02:00
commit 49cb1d3e09
2 changed files with 3 additions and 2 deletions

View File

@ -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";
_wp setWaypointType "CYCLE";

View File

@ -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 :)