I'm trying to understand what this matches on. It's in a script that is looking exclusively for ship building facilities so it's confusing why landmarks are searched for?
Thoughts?
<find_station name="$Stations" multiple="true" space="player.galaxy" functional="true">
<match_any>
<match macro="macro.landmarks_tel_tradestation_01_macro"/>
<match macro="macro.landmarks_par_tradestation_01_macro"/>
</match_any>
<match owner="faction.player" negate="true"/>
</find_station>
macro.station ?
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Re: macro.station ?
Hi Hairless-Ape,
I'm not entirely sure what you are testing but if your script suppose to look exclusively for ship building facilities then try this:
Hope that helps.
Cheers Euclid
I'm not entirely sure what you are testing but if your script suppose to look exclusively for ship building facilities then try this:
Code: Select all
<find_station name="$Stations" multiple="true" space="player.galaxy" canbuildships="true" />
Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
- Hairless-Ape
- Posts: 320
- Joined: Wed, 6. Nov 02, 20:31
Re: macro.station ?
Thank you euclid !
Would there be a way to restrict it so it's only returning the stations for the 3 player races, and exclude bad guys like xenons?
Thanks
Would there be a way to restrict it so it's only returning the stations for the 3 player races, and exclude bad guys like xenons?
Thanks
-
- Posts: 122
- Joined: Sun, 16. Dec 18, 13:16
Re: macro.station ?
Something like this should work :Hairless-Ape wrote: ↑Sun, 9. Jun 19, 22:04Would there be a way to restrict it so it's only returning the stations for the 3 player races, and exclude bad guys like xenons?
Code: Select all
<find_station name="$Stations" multiple="true" space="player.galaxy" canbuildships="true">
<match owner="faction.xenon" negate="true"/>
<match owner="faction.khaak" negate="true"/>
<match owner="faction.scaleplate" negate="true"/>
</find_station>