mirror of
https://github.com/Defent/DMS_Exile.git
synced 2024-08-30 16:52:12 +00:00
Update fn_SetGroupBehavior.sqf
This commit is contained in:
parent
baff70830d
commit
80e0fac9fa
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user