Thank you stealthy for the fast help ,the getCargo function ot the ship instance works fine, with your tip to use the isValid() function I found out that the object was not valid, because i messed up the initialization ....
Hello,
I am trying to script a bit using .NET and I am having some problems to get the items of the cargohold of my active ship when I am docked. I have managed to open the combined inventory and I am able to switch the active child window. If I am in space i can get the the cargo of my ship...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.