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...

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
×
×
  • Create New...