mirror of
https://github.com/rambo/arma3_missions.git
synced 2024-08-30 16:52:13 +00:00
configure squad linger time
This commit is contained in:
parent
66efdc582e
commit
84ef6d7570
@ -93,5 +93,7 @@ while {true} do
|
||||
};
|
||||
|
||||
deleteVehicle _trg;
|
||||
|
||||
sleep squadsLinger;
|
||||
// Make sure there are no lingering enemy or own units
|
||||
[_enemies + [_bindToSquad]] call deleteSquads;
|
||||
|
@ -121,5 +121,7 @@ while {true} do
|
||||
};
|
||||
|
||||
deleteVehicle _trg;
|
||||
|
||||
sleep squadsLinger;
|
||||
// Make sure there are no lingering enemy or own units
|
||||
[_enemies + [_squad]] call deleteSquads;
|
||||
|
@ -70,5 +70,13 @@ class Params
|
||||
texts[] = {"1 km", "1.5 km", "2 km", "5 km", "10 km"};
|
||||
default = 1000;
|
||||
};
|
||||
|
||||
|
||||
class SquadsLinger
|
||||
{
|
||||
//paramsArray[6]
|
||||
title = "How long squads linger on map after task completetion";
|
||||
values[] = {0, 60, 90, 120, 300, 600};
|
||||
texts[] = {"Not at all", 1 min", "1.5 min", "2 min", "5 min", "10 min"};
|
||||
default = 60;
|
||||
};
|
||||
};
|
||||
|
@ -38,3 +38,6 @@ while {_x < LZCOUNT} do
|
||||
|
||||
LZMinDistace = paramsArray select 5;
|
||||
publicVariable "LZMinDistace";
|
||||
|
||||
squadsLinger = paramsArray select 6;
|
||||
publicVariable "squadsLinger";
|
||||
|
Loading…
Reference in New Issue
Block a user