EDCD / EDDI

Companion application for Elite Dangerous
Other
437 stars 81 forks source link

VA Status fsd hyperdrive charging is 'Not set' #2627

Closed Darkcyde13 closed 4 weeks ago

Darkcyde13 commented 4 weeks ago

What's Wrong (please be as specific as possible)

Expected

The VA variable BOOL:Status fsd hyperdrive charging to be set to true or false.

Observed

The variable is always reported as 'Not set'.

Steps to reproduce

  1. Create an event command in VA called ((EDDI ship fsd))
  2. Add a write to log for {BOOL:Status fsd hyperdrive charging}
  3. In game, initiate a jump to another system.
  4. Observe the VA log reports 'Not set'.

Configuration

My Investigation

Investigation Notes

I wanted to create a VA command that would stop EDDI talking if it was in the middle of a long speech when initiating a jump to another system. I made a command that checked if EDDI speaking was true, and if Status fsd hyperdrive charging was true, but the command never worked. On testing the values of each variable, I found that the hyperdrive one is always 'Not set'.

EDDI Logs

N/A

Player journals

N/A

Tkael commented 4 weeks ago

It's possible for the general status variable to have changed again before the VoiceAttack command resolves. Why not use one of the variables that is tied to that event? https://github.com/EDCD/EDDI/wiki/Ship-fsd-event For example, did you test {BOOL:EDDI ship fsd hyperdrive charging}?

Darkcyde13 commented 4 weeks ago

Ahh, that hadn't crossed my mind. I've just given it a go, and it seems to be working OK. So thank you! 😃