mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Merge pull request #758 from ravmustang/Vehicle-Upgrades
Add BIS randomization false to Vehicles
This commit is contained in:
commit
b2a43d1ecc
@ -72,6 +72,8 @@ for "_i" from 1 to _maxVehicleLimit do {
|
||||
|
||||
// spawn vehicle at temp location.
|
||||
_vehicle = createVehicle [_class, _location, [], 0, "CAN_COLLIDE"];
|
||||
// turn off BIS randomization
|
||||
_vehicle setVariable ["BIS_enableRandomization", false];
|
||||
if !(isNull _vehicle) then {
|
||||
// make vehicle immune from damage.
|
||||
_vehicle allowDamage false;
|
||||
|
@ -21,6 +21,8 @@ _serverSettingsConfig = configFile >> "CfgEpochServer";
|
||||
_removeweapons = [_serverSettingsConfig, "removevehweapons", []] call EPOCH_fnc_returnConfigEntry;
|
||||
_removemagazinesturret = [_serverSettingsConfig, "removevehmagazinesturret", []] call EPOCH_fnc_returnConfigEntry;
|
||||
_vehObj = createVehicle[_vehClass, _position, [], 0, _can_collide];
|
||||
// turn off BIS randomization
|
||||
_vehObj setVariable ["BIS_enableRandomization", false];
|
||||
if !(isNull _vehObj) then{
|
||||
_vehObj call EPOCH_server_setVToken;
|
||||
// Set Direction and position
|
||||
|
Loading…
Reference in New Issue
Block a user