Help with lighting Campfires

FrankTheDuck

New Member
My clan is running a small (fairly) vanilla dayz server with a few extra buildings and a few other scripts and so far I've not had issue adding this all in and running.

As I removed Rockets debris the fire barrels are gone and can no longer be used to cook some food when your out of matches for the 76th time that day.

So I've been trying to replace them with an always burning campfire

But I cannot get the campfires burning. I'm using the "Land_Camp_fire_DZ" item placed in the editor using the "Jon editor" I've tried setting the campfires init to "this inflame true;" I've tried giving it a name and settings a trigger with "f1 inflame true" but I simply cannot get it to burn I even tried
Code:
_vehicle_649 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Camp_Fire_DZ", [6821.8037, 2758.3916, 4.2915344e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_649 = _this;
  _this setPos [6821.8037, 2758.3916, 4.2915344e-006];
  _this inflame true;
};

And variations of it. Any help would be greatly appreciated.

Oh and dayZ version we're running is 1.8.3
 

SchwEde

OpenDayZ Rockstar!
Ok I think I got some time today in the evening and will try to get some of it done :)
 

FrankTheDuck

New Member
Ok well, I've been able to add the wood into the inventory of the fireplace

Code:
_vehicle_649 = objNull;
if (true) then
{
  _this = createVehicle ["Land_Fire_DZ", [6821.8037, 2758.3916, 4.2915344e-006], [], 0, "CAN_COLLIDE"];
  _vehicle_649 = _this;
  _this setVehicleInit "this inflame true";
  _this setPos _location

};

This is now what I'm using after looking in the dayz_code at the script for making fies, they use the "Land_Fire_DZ" fireplace. This one auto spawns with a wood pile in it. Yet I can still not get it to burn on server start.
 

SchwEde

OpenDayZ Rockstar!
try using this

Land_Fire_burning

instead of

Land_Fire_DZ

this should do your trick =)
 

SchwEde

OpenDayZ Rockstar!
are you sure?
it burned as i tested it on the editor

it should defently spawn with fire

68816e770032e90d740b98572422e964.jpg
 
Top