Hi, I have one question. Is there a way to find out if player has any ship in given sector in script? I tried "get player owned ship array from sector", but it doesn't return docked ships. Is there another get function? When you open Universe map, there are sectors in green, when player has any property in those sectors, so i assume it is somehow possible...
Thanks for any help
How to get player property in sector in script?
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
You could get array of stations with
and call
for each station. I think.
Code: Select all
<RetVar> = <RefObj> get station array from sector
Code: Select all
<RetVar> = <RefObj> get player owned ship array from sector