Jump to content

[Release] Sector Addon 0.5.0 - Framework for StaticMission (Millitarize area, Taviana Sector B) rewiten august 2015


Suppe

Recommended Posts

  • 1 year later...

Heli is out of fuel after some time so I added this code to file fnc_vehicle_patrol.sqf and now heli is flying all day long :-)
Put code below anywhere between:   while{_run}do{   and last bracket:   };

//    Refuell code START
    if (fuel _unit <= 0.2) then
    {
        _unit setFuel 1;
        diag_log "***[Sector] Vehicle refuelled sucessfully***";
    };
//    Refuell code END

 

 

Link to comment
Share on other sites

  • 1 month later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...