This commit is contained in:
vbawol
2013-07-14 00:45:14 -05:00
parent b9d1d2d9ad
commit 91c6826896
2 changed files with 1 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ _abort = false;
_distance = 2; _distance = 2;
_reason = ""; _reason = "";
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1; _onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
_canDo = (!r_drag_sqf and !r_player_unconscious and !_onLadder); _canDo = (!r_drag_sqf and !r_player_unconscious and !_onLadder);
_item = _this; _item = _this;

View File

@@ -40,7 +40,6 @@ if (count _targetMen == 0) then {
_targetDis set [count _targetDis,_dis]; _targetDis set [count _targetDis,_dis];
} else { } else {
if (_x isKindOf "Generator_DZ") then { if (_x isKindOf "Generator_DZ") then {
// check if Generator_DZ is running within 30 meters
if (alive _x and (_x getVariable ["GeneratorRunning", false])) then { if (alive _x and (_x getVariable ["GeneratorRunning", false])) then {
_targetMen set [count _targetMen,_x]; _targetMen set [count _targetMen,_x];
_targetDis set [count _targetDis,_dis]; _targetDis set [count _targetDis,_dis];