Editors Note: Does the game not crash if spaceObject is destroyed and you use it in a fuctions like this?
- The game almost always crashes if you use spaceObjects after they are destroyed [alterecco]
Functions Documentation
View Function Edit Function
Name objAddSubordinate
Syntax (objAddSubordinate obj subordinate) -> True/Nil
Argument List obj: The spaceObject that you want to add the subordinate too.
subordinate: The ship that you want to make subordinate to the `obj'.
Returns boolean: True if successful, Nil otherwise (like if the spaceObject is destroyed).
Category spaceobject, ship
Description Makes the ship a subordinate to the space object.
Example
Comment To be used with staGetSubordinates. I am not sure of the exact nature of subordinates.