Add DZE_requirePlotOverride to override if objects need no plot pole

Made by @Victor-the-Cleaner
This commit is contained in:
A Man
2022-05-02 15:22:36 +02:00
parent 0b0db3f57d
commit 97624e23be
20 changed files with 21 additions and 1 deletions

View File

@@ -711,7 +711,6 @@ if (_canBuild) then {
_objectHelperPos = ATLToASL _pos;
};
//if (_vectoringEnabled || {_classname in DZE_StaticWeapons}) then {
if (_vectoringEnabled || _isStaticWeapon) then {
_objectHelper setVectorUp _vector; // align
};
@@ -911,6 +910,7 @@ if (_canBuild) then {
if (isNumber (configFile >> "CfgVehicles" >> _classname >> "requireplot")) then {
_requireplot = getNumber(configFile >> "CfgVehicles" >> _classname >> "requireplot");
};
if (_classname in DZE_requirePlotOverride) then {_requireplot = 1;};
useModelCenter = 0; // global