Code: Select all
(setq stationList (sysFindObject gSource "AFT +populated;"))
(setq CSCList (sysFindObject gSource "sD:CSC"))
(setq allList (append stationList CSCList))
Is it possible to do something like this? (doesn't work)
Code: Select all
(sysFindObject gSource "s D:CSC; AFT +populated;")
Or can "AFTs" be filtered somehow to only include objects that show on the system map?
Trying to generate a list of all large, active, friendly stations and CSCs in a system so the player can jump to them on demand.
==============================
While we're on sysFindObject, does anyone know what the 'B' criteria in the following code does?
It doesn't appear in any of the function explanations or criteria lists I've seen. Possibly a reference to the ship name or type?
From CorporateHierarchy.xml 1.7b4, line 925 and Luminous.xml, line 232
Code: Select all
(setq gList (sysFindObject gPlayerShip "s B:auton; O:escort;"))
(setq targets (sysFindObject gSource "sEN:20; B:luminousDrone;"))
And what's the difference between using Nil and gSource or gPlayership as the source for sysFindObject? I thought it was positional, Nil being the centre of the system, but they bring up different lists.
===============================
Also this is used a couple of times in Transcendence_Source
Code: Select all
(sysFindObject theSource (cat "NG:" gateID)
Code: Select all
(sysFindObject markerObj (cat "tN:" radius "; +asteroid;"))