Editors Note: It might have changed but now friendly is returned as "friend" in 1.3.
| Functions Documentation | |
| Name | objGetDisposition |
| Syntax | (objGetDisposition obj targetObj) -> disposition of obj towards targetObj |
| Argument List | obj: an object TargetObj: the spaceobject to test disposition towards |
| Returns | disposition of obj towards targetObj |
| Category | spaceobject |
| Description | Dispositions are: friendly neutral enemy |
| Example |
<Invoke> (block Nil (dbglog (objGetDisposition gSource (ObjGetTarget gSource))) ) </Invoke> Put this invoke in a weapon and it will both playermessage and debug log the disposition when invoked "[U]sed". |
| Comment |