Skip to content

Commit

Permalink
remove collision shit again
Browse files Browse the repository at this point in the history
  • Loading branch information
nomisum committed Jun 2, 2019
1 parent c12a22b commit 1259c1d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 30 deletions.
2 changes: 0 additions & 2 deletions BC_buyables/cfgFunctions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ class BC_buyables {
class clientInit { preInit = 1; };
class configureBluforStartVehicle;
class configureOpforStartVehicle;
class disableCollision;
class serverInit { postInit = 1; };
class terminalLocalityEH;
};
};
7 changes: 1 addition & 6 deletions BC_buyables/functions/fn_configureOpforStartVehicle.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,4 @@ _vehicle addItemCargoGlobal ["ACE_SpraypaintBlue",10];
_vehicle addItemCargoGlobal ["ACE_SpraypaintGreen",10];
_vehicle addItemCargoGlobal ["ACE_SpraypaintRed",10];
_vehicle addItemCargoGlobal ["ACE_EntrenchingTool",10];
_vehicle addItemCargoGlobal ["TFAR_fadak",10];

[_vehicle, _terminal] remoteExecCall ["disableCollisionWith", 0, _vehicle];
[_vehicle, _terminal] remoteExecCall ["disableCollisionWith", 0, _terminal];

[_vehicle] remoteExec ["BC_buyables_fnc_terminalLocalityEH", 0, true];
_vehicle addItemCargoGlobal ["TFAR_fadak",10];
9 changes: 0 additions & 9 deletions BC_buyables/functions/fn_disableCollision.sqf

This file was deleted.

11 changes: 0 additions & 11 deletions BC_buyables/functions/fn_terminalLocalityEH.sqf

This file was deleted.

6 changes: 4 additions & 2 deletions BC_setup/functions/client/fn_addInteractions.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,10 @@ if (!hasInterface) exitWith {};
_radioVeh = missionNamespace getVariable ["GRAD_tracking_radioVehObj", objNull];

detach _terminal;
// set a bit above ground
_terminal setPos [getPos _terminal select 0, getPos _terminal select 1, 0.1];

// safely put down
_terminal setVehiclePosition [_radioVeh getRelPos [2, 180], [], 6, "NONE"];

GRAD_TERMINAL = true; publicVariable "GRAD_TERMINAL";

[_terminal, true, [0,1.4,0], 270] remoteExec ["ace_dragging_fnc_setDraggable", 0, true];
Expand Down

0 comments on commit 1259c1d

Please sign in to comment.