Forcing a dataref driven by plugin

Help creating logic scripts for Air Manager Instruments

Moderators: russ, Ralph

Post Reply
Message
Author
frumpy
Posts: 361
Joined: Sat Jan 30, 2016 12:01 pm

Forcing a dataref driven by plugin

#1 Post by frumpy »

Hi there,

a heli changes the view in X-Plane with every frame (or every flight model?) by design to a certain value.
I'd like to block this plugin-driven head-movement by putting this into the ADI-loop:

Code: Select all

xpl_dataref_write("sim/graphics/view/field_of_view_roll_deg", "FLOAT", 0, 0,true)
This results in a battle heli vs. AM. Oh I'm quite dizzy now :)

Is there any other way I can block the plugin?

User avatar
Sling
Posts: 5242
Joined: Mon Sep 11, 2017 2:37 pm
Contact:

Re: Forcing a dataref driven by plugin

#2 Post by Sling »

I think that would have to be added on the heli dev side. Some of the xplane datarefs do have a corresponding override dataref that can be set but I’m not sure if this is one of them without checking.

Tony

frumpy
Posts: 361
Joined: Sat Jan 30, 2016 12:01 pm

Re: Forcing a dataref driven by plugin

#3 Post by frumpy »

Thanks for the heads-up, I found a way around. It can be turned off by design, just a bit hard to find that info.

Post Reply