Auto SETA turn-on when entering sector (if entered last gate with SETA on)
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Auto SETA turn-on when entering sector (if entered last gate with SETA on)
Is there a script to have SETA re-enable itself when entering a sector if the gate was entered with SETA on? This way long travels without a jump drive go faster and SETA doesn't need to be manually enabled each sector.
Thanks!
Thanks!
-
- Posts: 422
- Joined: Thu, 24. Aug 06, 13:45
-
- Posts: 4708
- Joined: Tue, 20. Apr 04, 17:39
Only thing that comes to my mind is this (I'm not exactly sure is' completely correct):
1) Every time the player ship enters a new sector the signal "changesector" is fired
2) A script could intercept this signal and write a (possibly empty) log file on disk
3) A background program uses a Windows hook to get a signal when such log file is created (to avoid unnecessary polling)
4) When such signal is fired the background program consumes (deletes) the log file and sends a "j" keystroke
5) This would happen every time the player changes sector so there should be a way to switch it off (perhaps using one of the additional command slots in the command console of the player ship ?)
Dunno if this is feasible or not, could someone comment on this ?
1) Every time the player ship enters a new sector the signal "changesector" is fired
2) A script could intercept this signal and write a (possibly empty) log file on disk
3) A background program uses a Windows hook to get a signal when such log file is created (to avoid unnecessary polling)
4) When such signal is fired the background program consumes (deletes) the log file and sends a "j" keystroke
5) This would happen every time the player changes sector so there should be a way to switch it off (perhaps using one of the additional command slots in the command console of the player ship ?)
Dunno if this is feasible or not, could someone comment on this ?
"For the love of the Fish-Queen!"