Discuss this page on this page's [[objSetSovereign Talk Page|Talk Page]] === objSetSovereign === See [[http://xelerus.de/index.php?s=functions&function=133|objSetSovereign at Xelerus]] ^ Syntax | (objSetSovereign spaceObject number) | ^ Arguments | 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 functions|ai]], [[spaceobject functions|spaceObject]] | ^ Description | Sets the space object's sovereign to the sovereign referenced by the UNID. | Helpful function that allows you to change the ai of the space objects. === Example === (objSetSovereign gSource &svIndependent;) Sets the calling space object's sovereign to svIndependent. (basically friendly independent merchant) Return to [[:Functions]] list