Jump to content
  • 0

Epoch 1.0.6.2 Chernarus Traders working fuel pump


Cyrus

Question

I have placed a fuel pump in starry using a custom script. The fuel pump is there and accessible but i would like to know how i can make it work with out the need of having to place a generator or a running fuel ural. by default it acts the same way a placeable fuel pump works picked up in the world. 

Here is the code that use to spawn the fuel pump. 

_vehicle_344 = objNull;
if (true) then
{
  _this = createVehicle ["Land_A_FuelStation_Feed", [6325.166, 7715.0869, 0.15837258], [], 0, "CAN_COLLIDE"];
  _vehicle_344 = _this;
  _this setDir -52.000465;
  _this setPos [6325.166, 7715.0869, 0.15837258];
};

Any help will be appreciated.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

@Cyrus Couple of ways to do this.

 

1. Change

Land_A_FuelStation_Feed

into

Map_A_FuelStation_Feed

 

2. Add your vehicle traders to the service points

_servicePointClasses = ["Profiteer4","RU_Profiteer4","GUE_Soldier_2","UN_CDF_Soldier_Pilot_EP1","Map_A_FuelStation_Feed","Land_A_FuelStation_Feed","FuelPump_DZ"];

 

3. Add your current map object to the service points

_servicePointClasses = ["Land_A_FuelStation_Feed","Map_A_FuelStation_Feed","Land_A_FuelStation_Feed","FuelPump_DZ"];

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...