Functions Documentation
View Function Edit Function
Name objSetSovereign
Syntax (objSetSovereign spaceObject number)
Argument List spaceObject: The space object that you want to change the sovereign of.
number: The UNID of the sovereign you want to set the space objects sovereign to.
Returns condition: True if successful.
Category ai, spaceobject
Description Sets the space object's sovereign to the sovereign referenced by the UNID.
Example
(objSetSovereign gSource &svIndependent;)


Sets the calling space object's sovereign to svIndependent. (basically friendly independent merchant)
Comment Helpful function that allows you to change the Sovereign of the space objects.