Detective's purpose is to:
- allow a user to see normally hidden local variables (Lvars) and custom events.
- create Bespoke Events that allow Lvars and Custom Events to be accessed and ultimately assigned to flight sim hardware.
After clicking on the "Detective" button on the Status tab, the following screen will be displayed:
Lvars & Event Monitoring Area
This area will display all local variables (Lvars) that are changing their values, and Events as they are sent to the flight sim. Initially monitoring is turned off, but by clicking the "Events Toggle" button and/or the "Lvars Toggle" button, Events and Lvars will start appearing respectively.
The "Pause Toggle" button pauses/un-pauses all activity.
This area is critical for identifying Lvars and Events that you wish to include in a Bespoke Event.
Variables Area
There are 3 types of Variables:
- Local Variables (Lvars) - displayed by clicking the "Lvars" button.
- Simconnect Variables - displayed by clicking the "SC Vars" button.
- Bespoke Variables - displayed by clicking the "Bes Vars" button.
The "Detected" button shows all Lvars that have appeared in the Lvar & Event Monitoring Area (see above)
The "Hidden" button shows all Lvars that have been hidden. Lvars are hidden by ticking their associated tick-box and then clicking the "Hide" button. By hiding Lvars, irrelevant Lvars are removed from the Monitoring Area allowing a clearer and more focused view of activity.
The "Show" button un-hides Lvars. The Lvars must have their tick-boxes ticked before clicking the button.
The "Search" button searches the currently displayed variable list for the text typed in the text-box to the left of the button. The results are automatically displayed. The last search performed can always be viewed by clicking the "Searched" button.
The "Rename" button is enabled when Bespoke Variables are displayed. It allows a more appropriate name to be created for the high-lighted Bespoke Variable by using the text typed in the text box next to the "Search" button.
The Events Area
There are 3 types of Events:
- Simconnect Events - displayed by clicking the "Events" button.
- Mouse Click Events - displayed by clicking the "Mse Clks" button.
- Custom Events - displayed by clicking the "Detected" button and they have appeared at some point in the Monitoring Area.
The "Detected" button will show all Simconnect and Custom Events that have appeared in the Lvar & Event Monitoring Area ( see above).
The "Hidden" button shows all Events that have been hidden. Events are hidden by ticking their associated tick-box and then clicking the "Hide" button. By hiding Events, irrelevant Events are removed from the Monitoring Area allowing a clearer and more focused view of activity.
The "Show" button un-hides Events. The Events must have their tick-boxes ticked before clicking the button.
The "Search" button searches the currently displayed Event list for the text typed in the text-box to the left of the button. The results are automatically displayed. The last search performed can always be viewed by clicking the "Searched" button.
The Bespoke Events Area
This area is concerned with managing Bespoke Events for the currently loaded aircraft.
The drop down list box allows the selection of a specific Bespoke Event whilst the "Add", "Del", "Ren", and "Cop" buttons next to it allow the addition, deletion, renaming and copying of Bespoke Events.
The large text-box area displays all the tasks that exist within the current Bespoke Event.
The "Run Event in Background" tick-box will result in the currently selected Bespoke Event to run in its own thread and not bog down the GoFlight Interface Tool. For Bespoke Events that run for a long time (greater than 500ms - half a second) it is best to tick this feature.
The "Update Editing" tick-box is useful when editing tasks. Normally when editing tasks, the chosen Variable or Event for the task cannot be changed. When this is ticked, the currently high-lighted Variable or Event will replace that in the high-lighted task when the "Edit" button is clicked; editing of the rest of the task continues as normal.
The "Test" button runs the current Bespoke Event so the effects of it can be seen in the flight sim.
The "Export" and "Import" buttons allow the exporting and importing of all Bespoke Events associated with the current aircraft. The files are in XML format and can be used as a backup or shared with others.
The "X" button deletes all Bespoke Events for the current aircraft.
The "Up" and "Dn" buttons move the currently high-lighted task up or down the task list so it can be re-positioned and processed in the correct order.
The "Edit" and "Del" buttons allow the editing or deletion of the currently high-lighted task.
All the other buttons create Tasks and more information can be found here.