Ciribob Posted August 23, 2015 Posted August 23, 2015 Does anyone know if its possible to detect if you are in the Ground Commander role or the JTAC role in the Export.lua? Also is it possible to get the coalition or country side you're currently on? Scripts: Complete Transport And Logistics Deployment - CTLD / CTLD Examples - Lots of example of how to use CTLD CSAR Script - Downed Pilot Rescue / Dedicated Server Script - Automatically launch DCS Multiplayer server at startup Range Scoring Script - Get scores and counts hits on targets for gunnery or bombs / SimpleSlotBlock - Multiplayer dynamic Slot Blocking Script Projects: DCS-SimpleRadio Standalone - DCS Radio Integration for All Aircraft - NO TeamSpeak Required! :) DCS-SimpleRadio Troubleshooting Post / DCS-SimpleRadio Free Support Channel on Discord
vicx Posted August 29, 2015 Posted August 29, 2015 I looked into this a year and half ago. I can't remember what I found, only that I didn't find the specific information I was looking for. Hopefully if someone has an answer they can post it here BUT otherwise I can suggest you try using software that Ian[FSF] has made that lets you explore things and find your own answers. Look in these threads for DCS Witchcraft and read back all the posts by Ian that give clues on how it's best use.
Ciribob Posted August 29, 2015 Author Posted August 29, 2015 Thanks for the info. I've had a look at DCS-Bios and read as much as I can find about the export functions available. As far as I can tell, there is no way to detect you're in the Ground Commander role but I did manage to work out coalition using LoGetSelfData() and LoGetObjectById() Scripts: Complete Transport And Logistics Deployment - CTLD / CTLD Examples - Lots of example of how to use CTLD CSAR Script - Downed Pilot Rescue / Dedicated Server Script - Automatically launch DCS Multiplayer server at startup Range Scoring Script - Get scores and counts hits on targets for gunnery or bombs / SimpleSlotBlock - Multiplayer dynamic Slot Blocking Script Projects: DCS-SimpleRadio Standalone - DCS Radio Integration for All Aircraft - NO TeamSpeak Required! :) DCS-SimpleRadio Troubleshooting Post / DCS-SimpleRadio Free Support Channel on Discord
Recommended Posts