User Tools

Site Tools


modding:function:sovsetdisposition

Discuss this page on this page's Talk Page

sovSetDisposition

See sovSetDisposition at Xelerus

Syntax (sovSetDisposition number number number)
Arguments number: The UNID of the sovereign to change its disposition.
number: The UNID of the sovereign the first one changes its disposition about.
number: 0 means attack, anything else means do not attack.
Returns condition: True if successful, Nil otherwise.
Category ai
Description Sets the disposition of the first sovereign to the second sovereign.

Interesting function allowing you to change how different groups of space objects act toward each other.

Example

(sovSetDisposition &svCSCAntarctica; &svPlayer; 0)

Makes things controlled by the Antarctica sovereign attack the player.

Return to Functions list

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