Closed Darkcyde13 closed 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}
?
Ahh, that hadn't crossed my mind. I've just given it a go, and it seems to be working OK. So thank you! 😃
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
((EDDI ship fsd))
{BOOL:Status fsd hyperdrive charging}
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 ifStatus 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