Add LZMaxDistance param, refs #4

This commit is contained in:
Eero af Heurlin
2021-06-13 16:18:56 +03:00
parent 59c62b829a
commit 33d53795d3
2 changed files with 16 additions and 3 deletions

View File

@ -25,7 +25,7 @@ class Params
texts[] = {"Dawn","Midday","Dusk", "Midnight", "Random"};
default = 12;
};
class LZSize
{
//paramsArray[1]
@ -34,7 +34,7 @@ class Params
texts[] = {"15m", "25m", "50m", "100m", "150m", "200m","300m"};
default = 100;
};
class SmokeSetting
{
//paramsArray[2]
@ -52,7 +52,7 @@ class Params
texts[] = {"Never", "Low", "Medium", "High", "Always"};
default = 50;
};
class AAProbability
{
//paramsArray[4]
@ -88,4 +88,14 @@ class Params
texts[] = {"Off", "On"};
default = 1;
};
class LZMaxDistace
{
//paramsArray[8]
title = "LZ max distance from other active missions (setting this too low might cause bugs)";
values[] = {1000000000,2000,5000,10000,20000,30000,40000};
texts[] = {"no limit", "2 km", "5 km", "10 km", "20 km", "30 km", "40 km"};
default = 1000000000;
};
};

View File

@ -44,3 +44,6 @@ publicVariable "squadsLinger";
autoSpawnTasks = if ((paramsArray select 7) == 1) then {true} else {false};
publicVariable "autoSpawnTasks";
LZMaxDistace = paramsArray select 8;
publicVariable "LZMaxDistace";