January 25Jan 25 Commercial Member 26 minutes ago, toucanair said: and finally this curveball. This seems to be the same as the previous one, just with different LVars. Not sure why they would implement it that way, but in essence it seems almost identical 0x11155 (>L:SR71_EVENT, Number) and 0x11156 (>L:SR71_EVENT, Number) are "go left, go right" the state variable is (L:SRFA06C, Number) with the three positions 0,1,2 Edited January 25Jan 25 by Lorby_SI LORBY-SI
January 25Jan 25 Commercial Member 30 minutes ago, toucanair said: How would script to be a two way on 1 and then a separate off 0 script. rather than a toggle.... When all you have is a toggle, you create two scripts, which first read the animation variable and then only toggle when it has a specific value (= in the ON script, only toggle when the animation LVar shows the OFF position and vice versa for OFF) On script (L:SRFR0EC,·Bool)·0·==·if{·0x1121E·(>L:SR71_EVENT,·Number)·} Off script (L:SRFR0EC,·Bool)·1·==·if{·0x1121E·(>L:SR71_EVENT,·Number)·} Edited January 25Jan 25 by Lorby_SI LORBY-SI
January 25Jan 25 Author This has been a Great Help, I have just scripted and tested a few different switches using these variables and they are all working fantastically. Your support for this program has really been A1+ all the way. Some of this I would never have figured out. It's the only program I've used for quite a while now for all of my MSFS controls programming... Lastly,w ith this one, though I can Script it to go Left or Right, I've tried a few variations, I just can't get it assign to off... Then again , It's super late here in Oz and think I've burnt all my Midnight oil so to speak lol 1 hour ago, Lorby_SI said: 0x11155 (>L:SR71_EVENT, Number) and 0x11156 (>L:SR71_EVENT, Number) are "go left, go right" the state variable is (L:SRFA06C, Number) with the three positions 0,1, Thanks so much for all your Help T. FAA ATP, CASA ATPL(A), MEIR, NVFR, Type Rated: A320, B747,B737, E120, B1900D/C KA350, Multi Ratings: PA31-350, BE58, C310, PN68, PA44, BE76. Checked out on: C210, R114, C206, PA28, C172, C152. Processor: Intel(R) Core(TM) i9-7900X CPU @ 3.30GHz (20 CPUs), ~3.3GHzMemory: 64MB RAM, NVIDIA GeForce RTX 3080 Ti, Multi Monitor.
Create an account or sign in to comment