What it says in topic.
The one instance it's used isn't any help either :/ (setq homeBase (sysFindObject gSource "TAFJN")).
How do you use the J from SysFindObject?
-
- Fleet Admiral
- Posts: 2876
- Joined: Thu Feb 03, 2011 5:21 am
- Location: Hmm... I'm confused. Anybody have a starmap to the Core?
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat


Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
Get on Discord for mod help and general chat


Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
-
- Fleet Officer
- Posts: 1533
- Joined: Tue Mar 22, 2011 8:43 pm
- Location: Alaska
- Contact:
1.0 RC3 (20 December 2009) : wiki :RPC wrote:What it says in topic.
The one instance it's used isn't any help either :/ (setq homeBase (sysFindObject gSource "TAFJN")).
Personally, while it is " ok " , TAF , TAFN works well enough because setting the J is , I think, mostly useful for Defenders or the Pirate Frigates. I never saw the reason in anything I have tinkered with to actually need the J , but in the traffic codes you find the basic way of not using the J but get the "same" result :Added 'J' flag to include only objects from a given sovereign.
Code: Select all
(if (not (setq homeObj (objGetObjRefData gSource "home")))
(block Nil
(setq homeObj (sysFindObject gSource "TAFN +commonwealth; +primary;"))
(if (not homeObj)
(setq homeObj (sysFindObject gSource "TAFN +populated; -occupation;"))
)
(objSetObjRefData gSource "home" homeObj)
)
)
Flying Irresponsibly In Eridani......
I don't like to kill pirates in cold blood ..I do it.. but I don't like it..
I don't like to kill pirates in cold blood ..I do it.. but I don't like it..