FSFIan Posted February 11, 2015 Posted February 11, 2015 The official scripting docs describe the getFuel() method as follows: returns relative amount of fuel (from 0.0 to 1.0) the unit has in its internal tanks. If there are additional fuel tanks the value may be greater than 1.0. In multiplayer, this only works for the aircraft controlled by the host. For aircraft controlled by other players, it will return the fuel state that the aircraft initially spawned with. DCS-BIOS | How to export CMSP, RWR, etc. through MonitorSetup.lua
Grimes Posted February 11, 2015 Posted February 11, 2015 Will check. Thanks for the report. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
Recommended Posts