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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

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