Because the arcology is 12 different segments code like this, which works at "single" stations, doesn't work:
Code: Select all
(setq freightersDocked (filter (staGetDockedShips gSource) dockObj (objHasAttribute dockObj 'D789FreighterWingman)))
Code: Select all
(setq dockedShips (map (sysFindObject Nil 't +arcology;) 'excludeNil seg (staGetDockedShips seg)))
Code: Select all
((162144776) (154743880 155825144 162128688) (162081352 154792160) (156979776 154716584 155783416) (404810576) (158687288) (154789592) (158683816 162099528) (154768960 154812272) (154792992 162090360) (165241312))
Unfortunately I have no idea how to turn this list of 11 lists into a single list to filter. Possibly it's a combination of append, enum, loop or lnkAppend but who knows!
Has anyone done this, know of a better way or can send me in the direction of an example?