Hi,
How to toggle the selection of weapon station passing station index through SIMCONNECT ? I tried using "WEAPON_STATION_TOGGLE:1" from Weapon Systems Events and Keys, and "WEAPON SYSTEM STATION SELECTED:1" from Weapon SimVars. But unable to toggle the weapon station selection. If anyone knows kindly suggest.
Regards,
Manoj S
WEAPON STATION SELECTION USING STATION INDEX
-
- Lockheed Martin
- Posts: 1188
- Joined: Tue Sep 25, 2012 2:34 pm
Re: WEAPON STATION SELECTION USING STATION INDEX
Hi Manoj,
It looks like the "WEAON_STATION_TOGGLE" key event does not utilize the index. Instead, you can pass the station index via the data parameter. Here is an XML example:
We include a gauge called WeaponsGauge.cab. It should be located in your Prepar3D installation "Gauges" directory. It may provide some insight on how some weapon SimVars and KeyEvents work.
Regards,
Clifton
It looks like the "WEAON_STATION_TOGGLE" key event does not utilize the index. Instead, you can pass the station index via the data parameter. Here is an XML example:
Code: Select all
4 (>K:WEAPON_STATION_TOGGLE)
Regards,
Clifton
Clifton Crane
Prepar3D® Software Engineer Sr.
Prepar3D® Software Engineer Sr.
Re: WEAPON STATION SELECTION USING STATION INDEX
Hi Clifton,
Thanks for the suggestion, now it's working as expected.
Regards,
Manoj S
Thanks for the suggestion, now it's working as expected.
Regards,
Manoj S