User Tools

Site Tools


Discuss this page on this page's Talk Page


See 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, 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.


(objSetSovereign gSource &svIndependent;)

Sets the calling space object's sovereign to svIndependent. (basically friendly independent merchant)

Return to Functions list

modding/function/objsetsovereign.txt · Last modified: 2014/12/27 04:40 by