Trader Kill + BuildMode Keydown fixed

This commit is contained in:
He-Man 2017-10-19 20:45:36 +02:00
parent f11ea12220
commit 7c43bc6e0d
2 changed files with 25 additions and 23 deletions

View File

@ -142,6 +142,7 @@ if (vehicle player == player) then {
}; };
if (EPOCH_buildMode > 0) then { if (EPOCH_buildMode > 0) then {
if (!isnull EPOCH_Target) then {
if (!_ctrl) then { if (!_ctrl) then {
_step = 0.5; _step = 0.5;
if(_shift)then{_step = 1.5;}; if(_shift)then{_step = 1.5;};
@ -168,6 +169,7 @@ if (vehicle player == player) then {
}; };
}; };
}; };
};
if (_dikCode in(actionKeys "moveFastForward") || _dikCode in(actionKeys "moveForward")) then { if (_dikCode in(actionKeys "moveFastForward") || _dikCode in(actionKeys "moveForward")) then {
if ((diag_tickTime - EPOCH_lastAGTime) > 1) then { if ((diag_tickTime - EPOCH_lastAGTime) > 1) then {

View File

@ -17,8 +17,8 @@ private ["_markers","_objHiveKey","_slot","_playerCStats","_playerKarma","_playe
//[[[end]]] //[[[end]]]
params ["_trader","_player"]; params ["_trader","_player"];
if (!isNull _trader) then { if (!isNull _trader) then {
_markers = _trader getVariable["MARKER_REF",""]; _markers = _trader getVariable["MARKER_REF",[]];
if (_markers != []) then { if !(_markers isequalto []) then {
{ {
_x setMarkerColor "ColorRed"; _x setMarkerColor "ColorRed";
}forEach _markers; }forEach _markers;