Jump to content

Recommended Posts

Posted

Hi!

I can set all my datarefs but not this one.

This is the one controlling the visibility in X-Plane.

i am using the method:

XPLMSetDataf

this method sets a float and reading from the manual you set this in meters. (still a float value).

this is how my line of code is but it always sets the visibility to 0.1, the lowest value there is.

XPLMSetDataf(XPLMFindDataRef("sim/weather/visibility_reported_m"),11.5);

Any suggestions?

This is the last dataref for weather i need but this one i really need.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...