Syntax | (objGetDisposition obj targetObj) |
---|---|
Arguments | obj: The object you want the disposition of |
targetObj: the object you want to check obj against | |
Returns | Disposition |
Category | spaceObject functions |
Description | Checks the disposition of the first object's sovereign toward the target object's sovereign. |
'enemy 'friend 'neutral
(objGetDisposition gSource gPlayership)
Returns the disposition of the source to the playership. The following code is equivalent.
(sovGetDisposition (objGetSovereign gSource) (objGetSovereign gPlayerShip))
Return to Space Object functions list
Return to functions list