addSquadron(<sSquadronName>, <sSquadronType>, <tPosition>, <iPlayerIndex>, <tRotation>, <iNumberShips>, <bHyperspace>)
Adds a ship or squadron to a player's fleet. Only used in ".level" files.
addSquadron("Mommy", "Hgn_Mothership", {1614, 141, 5229,}, 0, {0, 0, 0,}, 0, 1)
<sSquadronName>: the name of the squadron being added.
Note: Can be anything you want. It is for future use with addToSOBGroup.
<sSquadronType>: the type of the squadron being added.
<tPosition>: a table containing the X, Y, and Z coordinates (in that order).
<iPlayerIndex>: the index number of the squadron's owner.
<tRotation>: a table containing the X, Y, and Z rotation angles (in that order; in degrees).
<iNumberShips>: the number of ships spawned in the squadron. No effect on single ships.
<bHyperspace>: determines if the squadron exists in hyperspace. 1 = in hyperspace, 0 = in real space.
Related Pages

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.