Refactor getAdaptiveVehicle
This commit is contained in:
parent
49b4831c35
commit
54188c3adc
|
@ -2,7 +2,7 @@
|
|||
File: fn_getAdaptiveVehicle.sqf
|
||||
Author: KP Liberation Dev Team - https://github.com/KillahPotatoes
|
||||
Date: 2019-11-25
|
||||
Last Update: 2019-11-25
|
||||
Last Update: 2019-11-26
|
||||
License: MIT License - http://www.opensource.org/licenses/MIT
|
||||
|
||||
Description:
|
||||
|
@ -15,8 +15,4 @@
|
|||
Vehicle classname [STRING]
|
||||
*/
|
||||
|
||||
if (combat_readiness < 40) then {
|
||||
selectRandom opfor_vehicles_low_intensity
|
||||
} else {
|
||||
selectRandom opfor_vehicles
|
||||
};
|
||||
selectRandom ([opfor_vehicles, opfor_vehicles_low_intensity] select (combat_readiness < 40))
|
||||
|
|
Loading…
Reference in New Issue