SplitShip

From NexusWiki
Jump to: navigation, search

SplitShip(ship, numparts, partclass, list);

The ship divides to ’numparts’ pieces of ’partclass’ class parts. The parent ship is deleted, but before that, it sends a Splitted event of itself. If ’list’ >= 0, than it gives back the created part ships in the given number list. If a list isn’t needed, than you have to give -1. The part ships inherit the parent ship’s scouting state, and lower lever movement commands. On AI level nothing is inherited right no, this question has not been cleared up.