Discuss this page on this page's [[objGetSovereign Talk Page|Talk Page]] === objGetSovereign === See [[http://xelerus.de/index.php?s=functions&function=107|objGetSovereign at Xelerus]] ^ Syntax | (objGetSovereign spaceObject) | ^ Arguments | spaceObject: The space object that you want to get the sovereign of. | ^ Returns | number: The UNID of the sovereign. | ^ Category | [[ai functions|ai]], [[spaceobject functions|spaceObject]], [[unid functions|UNID]] | ^ Description | Finds and returns sovereign of the space object. | Basic space object function. === Example === (objGetSovereign gplayership) Returns 4097, that is the decimal equivalent of 0x00001001, the UNID of the sovereign of the player: svPlayer Return to [[:Functions]] list