I try to create script "know all station and there module".
I have tried with this script:
Code: Select all
<find_station groupname="$station" space="player.galaxy" multiple="true" />
<do_all exact="$station.count" counter="$i">
<find_object_component name="$buildmodules" object="$station.${i}" class="class.buildmodule" multiple="true"/>
<do_all exact="$buildmodules.count" counter="$j">
<set_known object="$buildmodules.{$j}" known="true" />
</do_all>
<set_known object="$station.{$i}" known="true" />
</do_all>
Tranks.