July 12, 20232 yr Hi Oliver, I searched Views and found 'Toggle Chaseplane' which is what I'm looking for. Assigned it to a button on my yoke and no luck. I do get a green light on/off when pressing the button though. I'm assuming here that that Toggle Chaseplane=Spot but not sure. Any ideas? Thanks, Mark
July 12, 20232 yr Commercial Member Hello Mark, there is no AAO event "toggle chaseplane". Maybe that refers to a script that you've installed from somewhere? What are you trying to do? Call up the P3D cameras like I wrote in the other forum? LORBY-SI
July 12, 20232 yr Author Yes. I think it was in scripting under views? I'm not at my computer right now. I'm trying to get from the VC to spot view, then from spot view back to the VC with the same yoke button if possible. Wax on, wax off. I've been able to almost achieve this with the 'S' button assigned to a yoke button and using 'CycleHidden=Yes' in cameras.cfg but not quite there yet. One view won't properly hide :>) I was also digging last night and found one of your posts from 2018 regarding HotSelectKey=x which I thought I may be able to use in some way. Edited July 12, 20232 yr by newtie ..
July 12, 20232 yr Commercial Member Sounds to me like you have some third party scripts in AAO. I'm not familiar with any default script group called "Views". If you want to use AAO, do this (0. Read the AAO manual, chapter about RPN scripting) Start the sim, start AAO, wait until you are sitting in the cockpit In AAO go to "Scripting->RPN Scripts Editor" Type "SpotToggle" into the "Script title" box Select "Scripts" in the "Script group" box below Copy and paste this code into the big white editor box, exactly as it is. Don't chage a single thing, especially not space characters or brackets. 1 (L:CamState) - (>L:CamState) (L:CamState) 0 == if{ (CHANGEVIEW:Spot) } els{ (CHANGEVIEW:Virtual Cockpit) } 6. Press "Save as New" 7. Press "Test" to make sure that it works. 8. Close the Editor Then simply assign "Scripts->SpotToggle" to your button. Just as a reminder: this only works in P3D, the other sims don't have these commands. And it has nothing whatsoever to do with any camera addon, this is all simulator default functionality. The names of the cameras are those from the aircraft.cfg and cameras.cfg in the sim = the names that you see in the right-click context menu in P3D when you change the camera with the mouse. You can type those names directly into the (CHANGEVIEW:) command in AAO as shown above. Edited July 12, 20232 yr by Lorby_SI LORBY-SI
July 12, 20232 yr Author Hi Oliver, Followed all directions and the script seems to be functioning, that is, I get a green light when depressing the yoke button in AAO, but nothing toggles. I added screenshots just in case.
July 12, 20232 yr Commercial Member Where is the rest of the script? That is not even half the code that I've posted above. LORBY-SI
July 12, 20232 yr Author Sorry for the delay. Just got back from my local community college where I took an introductory class, "Copying, Selecting and Pasting for Old People". This works perfect Oliver, exactly what I was looking for! I'll look at CHANGEVIEW a bit later just for my own information, after I complete the second part of my community class. 😁 Mark
Archived
This topic is now archived and is closed to further replies.