You can no longer connect to destroyed HuntIR cameras

This commit is contained in:
ulteq 2015-06-14 12:54:10 +02:00
parent af2e2f71fd
commit 14fd5c930b
2 changed files with 1 additions and 27 deletions

View File

@ -1,26 +0,0 @@
class CfgSkeletons {
class Default {
isDiscrete = 1;
skeletonInherit = "";
skeletonBones[] = {};
};
class ace_huntir_skeleton: Default {
isDiscrete = 1;
skeletonInherit = "Default";
skeletonBones[] = {
"parachute","",
"camera","",
};
};
};
class CfgModels {
class Default {
sectionsInherit = "";
sections[] = {};
skeletonName = "";
};
class huntir: Default {
skeletonName = "ace_huntir_skeleton";
sectionsInherit = "Default";
};
};

View File

@ -61,7 +61,7 @@ createDialog "ace_huntir_cam_dialog_off";
if (_elapsedTime > 10) then { if (_elapsedTime > 10) then {
GVAR(state) = "noGDS"; GVAR(state) = "noGDS";
}; };
if (_elapsedTime > 5 && {count _nearestHuntIRs > 0}) then { if (_elapsedTime > 5 && {{_x getHitPointDamage "HitCamera" < 0.25} count _nearestHuntIRs > 0}) then {
GVAR(state) = "connecting"; GVAR(state) = "connecting";
}; };
}; };