I'm trying to change resupply logic to support multiple suppliers.
I find attack logic like 'origin_extract\aiscripts\fight.attack.object.bigtarget.xml' use <find_ship> to get supplier. It that action support return ship list? and how to get whole params for <find_ship> action?
Thanks for help.
Help! Where can i find 'find_ship' declaration?
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Re: Help! Where can i find 'find_ship' declaration?
documented in common.xsd, but since this particular action involves attribute groups, it would be easier to use an xml editor that's able to parse the accompanying xsd files.
for examples of script logic that looks for stations or ships that are able to supply and repair ships, you could check interrupt.restock.xml. search for the definition of $resupplystations_interrupt .
Re: Help! Where can i find 'find_ship' declaration?
I really found these logic. Thanks very much!j.harshaw wrote: ↑Wed, 28. Sep 22, 09:37documented in common.xsd, but since this particular action involves attribute groups, it would be easier to use an xml editor that's able to parse the accompanying xsd files.
for examples of script logic that looks for stations or ships that are able to supply and repair ships, you could check interrupt.restock.xml. search for the definition of $resupplystations_interrupt .