Login  Register

Re: Fire barrel won't stay lit

Posted by RYANCQQPER on Mar 05, 2017; 4:28pm
URL: http://kodabar-dayz-daizy-single-player-forum.163.s1.nabble.com/Fire-barrel-won-t-stay-lit-tp18674p18724.html

I did it , now fire barrel is working :) the problem was in file "fireplace.sqf" at line "_fire inflame true;" and i change it to false .

private ["_fire","_loc","_unit"];

_unit = _this select 0;
_loc = _unit modeltoworld [0,0.5,0];
_unit playActionNow "Medic";
sleep 6;

_fire = createVehicle ["Land_Fire_DZ", _loc, [], 0, "CAN_COLLIDE"];
_fire setDir round(random 360);
_loc set [2,0];
//_loc set [0,(_loc select 0) + 0.5];
_fire setPosATL _loc;
_fire inflame false;
sleep 60*10;
deleteVehicle _fire;