I have a Napf map and I did not install auto refuel or repair. We want it somewhat old-school. So I installed a TK_GUE_WarfareBVehicleServicePoint_EP1 in the middle of the map. It would refuel and repair in editor, but will not work in game.
Here is the script:
if (isServer) then {
_vehicle_7 = objNull;
if (true) then
{
_this = createVehicle ["TK_GUE_WarfareBVehicleServicePoint_EP1", [10228.423, 10289.031, -0.018438198], [], 0, "CAN_COLLIDE"];
_vehicle_7 = _this;
_this setDir -53.171276; _this setVehicleInit "this setVectorUp [0,0,1];";
_this setPos [10228.423, 10289.031, -0.018438198];
};
};
What do i have to do to get it to refuel and repair? Thats without turning on all other pumps on the map.