Have you looked into the ReportStation() function yet? It allows you to query the server for information about a station even when you are not docked.
Uff, couldn't do that. I just learned Basic language there in the '80s, and didn't see more than C basic concepts, so can't go deeper into scripting. So, which code should I add in order to trigger the station report outside of the station, just targetting it?
Btw, saw some videos of HCS voice packs with the "On my mark" script that makes voiceattack to start a timer waiting for a command to trigger. Loved that, it would be possible make one saying "On my mark... disengage", and triggering with the order "Now"?. I got some examples but not exactly what I pretend and besides they were incompletes.
Thanks in advance.
Edit: Ok, with some help in the voiceattack forum I managed to do the "On my mark" stuff. Sorry if this forum is more Eddi concerned, but this is such a cool feature that I need to share it ^^ Note that you can make all "(x order on my mark)" you want and just 1 general trigger, even having one command and same command adding "on my mark" has no conflicts and works fine, recognizing both of them separately. Here goes my own commands:
- General trigger:
When I say: [dissengage; now]
Set Boolean [mark] to True
Set Boolean [mark] to True
- Optimal impulse on my mark (I use this one when going max supercruise speed approaching to a station/planet, so when I reach 0:07 I say the trigger order and speed goes to 75% -blue zone-. Note that my 75% speed is set to key F2):
When I say: [optimal impulse] [on my mark;]
Begin Text Compare: [{CMD}] Contains 'on my mark'
Set Boolean [mark] to False
Set Text[Script] to '[Acknowledge]'
Execute external plugin, 'EDDI 2.4.5'
Start Loop While: [mark] Does Not Equal True
End Loop
Set Boolean [mark] to False
End Condition
Press F2 key and hold for 0.1 seconds and release
Set Text[Script] to '[Approach speed set]'
Execute external plugin, 'EDDI 2.4.5'
Begin Text Compare: [{CMD}] Contains 'on my mark'
Set Boolean [mark] to False
Set Text[Script] to '[Acknowledge]'
Execute external plugin, 'EDDI 2.4.5'
Start Loop While: [mark] Does Not Equal True
End Loop
Set Boolean [mark] to False
End Condition
Press F2 key and hold for 0.1 seconds and release
Set Text[Script] to '[Approach speed set]'
Execute external plugin, 'EDDI 2.4.5'
- Disengage on my mark (similar to previous example, I use this one approaching to station/planet/signal etc on supercruise, and triggering when distance and speed bars reach blue zone. Supercruise binded to key J)
When I say: [disengage] [on my mark;]
Begin Text Compare: [{CMD}] Contains 'on my mark'
Set Boolean [mark] to False
Set Text[Script] to '[Acknowledge]'
Execute external plugin, 'EDDI 2.4.5'
Start Loop While: [mark] Does Not Equal True
End Loop
Set Boolean [mark] to False
End Condition
Press J key and hold for 0.1 seconds and release
Set Text[Script] to '[Entering normal space]'
Execute external plugin, 'EDDI 2.4.5'
Begin Text Compare: [{CMD}] Contains 'on my mark'
Set Boolean [mark] to False
Set Text[Script] to '[Acknowledge]'
Execute external plugin, 'EDDI 2.4.5'
Start Loop While: [mark] Does Not Equal True
End Loop
Set Boolean [mark] to False
End Condition
Press J key and hold for 0.1 seconds and release
Set Text[Script] to '[Entering normal space]'
Execute external plugin, 'EDDI 2.4.5'
As you see the "disengage on my mark" is obviously the same code as "optimal impulse on my mark", the only things that change are the command initial phrase, the key to press (or external command/action to trigger) and the say responses, so you can make all "on my mark" commands you like, just simply copy/pasting and changing those things.
Hope you find this useful. Original voiceattack thread here if you want to investigate or see other variations.
Last edited: