mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
You can no longer connect to destroyed HuntIR cameras
This commit is contained in:
parent
af2e2f71fd
commit
14fd5c930b
@ -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";
|
||||
};
|
||||
};
|
@ -61,7 +61,7 @@ createDialog "ace_huntir_cam_dialog_off";
|
||||
if (_elapsedTime > 10) then {
|
||||
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";
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user