Author Topic: ELite Dangerous : how do I trap docking rerquest granted?  (Read 872 times)

stabby_dave

  • Newbie
  • *
  • Posts: 14
ELite Dangerous : how do I trap docking rerquest granted?
« on: April 18, 2020, 07:23:27 PM »
Hi.

Running VA, using one of the HCS voicepacks. My script issues the "hcsvtED_RequestDocking" command, but I need a way of trapping whether docking has been authorised or not. If it hasn't, I don't necessarily need to know the reason, just whether or not it has.

I asked over in the HCS forum, but they were unable to help.

Any advice greatly appreciated.

Cheers.

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4782
  • RTFM
Re: ELite Dangerous : how do I trap docking rerquest granted?
« Reply #1 on: April 18, 2020, 07:27:31 PM »
Have you tried the HCS Voice Packs Discord?

The HCS Voice Packs developers would be your best bet at getting such information, provided they're willing to disseminate it.

stabby_dave

  • Newbie
  • *
  • Posts: 14
Re: ELite Dangerous : how do I trap docking rerquest granted?
« Reply #2 on: April 19, 2020, 02:16:13 AM »
As I said, I asked them, but they told me they were unable to help. I previously asked as to whether there was a list of variables they used, but there isn't and it's not something they're "unlikely to do" in case it causes them a problem (which I can understand).

All I'm after is a way of requesting docking and finding out whether it's been granted.

Cheers.

stabby_dave

  • Newbie
  • *
  • Posts: 14
Re: ELite Dangerous : how do I trap docking rerquest granted?
« Reply #3 on: April 19, 2020, 02:58:18 PM »
Solved. Please close.

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: ELite Dangerous : how do I trap docking rerquest granted?
« Reply #4 on: April 19, 2020, 03:10:37 PM »
Any indication of what the solution might have been?

stabby_dave

  • Newbie
  • *
  • Posts: 14
Re: ELite Dangerous : how do I trap docking rerquest granted?
« Reply #5 on: April 22, 2020, 04:33:04 PM »
Yeah. Sorry.

I created a a script ((EDDI docking granted)) which automatically executes when docking is granted and set a boolean when it was executed. There's probably a better way, but it works.