assigning cargo to script-added ships
Posted: Wed Sep 30, 2009 11:57 am
Quick question: What is the recommended way to give cargo to ships generated by a script through a custom role?
The wiki seems to suggest that max_cargo and likely_cargo only work for ships spawned by the system populator. So what do I do for ships added by script? Do I have to spawn: cargopods in their death_actions, or is there another way?
And on a related note: How does cargo_carried work, anyway? Is it used in the shipdata-entry of a ship, or in the entry of a cargopod only?
The wiki seems to suggest that max_cargo and likely_cargo only work for ships spawned by the system populator. So what do I do for ships added by script? Do I have to spawn: cargopods in their death_actions, or is there another way?
And on a related note: How does cargo_carried work, anyway? Is it used in the shipdata-entry of a ship, or in the entry of a cargopod only?