Asenna Steam
kirjaudu sisään
|
kieli
简体中文 (yksinkertaistettu kiina)
繁體中文 (perinteinen kiina)
日本語 (japani)
한국어 (korea)
ไทย (thai)
български (bulgaria)
Čeština (tšekki)
Dansk (tanska)
Deutsch (saksa)
English (englanti)
Español – España (espanja – Espanja)
Español – Latinoamérica (espanja – Lat. Am.)
Ελληνικά (kreikka)
Français (ranska)
Italiano (italia)
Bahasa Indonesia (indonesia)
Magyar (unkari)
Nederlands (hollanti)
Norsk (norja)
Polski (puola)
Português (portugali – Portugali)
Português – Brasil (portugali – Brasilia)
Română (romania)
Русский (venäjä)
Svenska (ruotsi)
Türkçe (turkki)
Tiếng Việt (vietnam)
Українська (ukraina)
Ilmoita käännösongelmasta
There should only be one Freya running, and it should be in the base.
...
And my vehicle batteries have the same problem.
...
How is the script supposed to change the vehicle batteries back to discharge after you disconnect the ship?
As far as I know skripts can't easily access grids not connected to their grid; especially if the grids do not have a antenna.
So you connect, Freya detects the battery, memorizes it, and sets it to recharge. You disconnect, and Freya detects that the memorized block isn't on the local grid, and sets it to discharge.
Do the batteries on the vehicle have the same name as batteries which are still connected directly? For example, two identical copies of the vehicle, one disconnected, one connected?
for example one of the batteries is called:
Vehicle DD Battery 1
There are neither any copies of any vehicles.
Furthermore none of my three ships is succesfully changed on disconnection of the connector.
P.S. The way blocks can be accessed by scripts on other grids is really interresting. Really useful.
Still, even if it was working correctly it kind of messes up drones, because if you undock from within the remote control (using hotkeys) with the battery still set to recharge the RC stops working. So you'd need to do it all from the Terminal, which is a little clunky compared to just hitting a few keys on the RC to undock. Not _that_ big of a deal, but something to consider.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=574173536
@Astus, I'll take a look.
As for one poster saying that scripts can control objects on other grids if they have been connected once is false as far as I know.
My mining ship with 2 unique named battery's gets switch to recharge accordingly, but indeed it does not switch back. due the fact my mining ship uses a gazilion pistons it explodes on powerdown... so thats no good :)
It does contain a backup reactor, maby that is causing an issue with the script?