modding:function:objhasattribute
Discuss this page on this pages TalkPage
objHasAttribute
See objHasAttribute at Xelerus
| Syntax | (objHasAttribute spaceObject string) |
|---|---|
| Arguments | spaceObject: The space object you want to see if it has the attribute. |
| string: The attribute's that you want name. | |
| Returns | condition: True if the space object has that attribute. Nil otherwise. |
| Category | condition query, spaceobject |
| Description | Checks to see if the space object has the attribute named by the string. |
Example
(objHasAttribute gSource "pirates")
Checks to see if the space object has the attribute pirates. Return to Functions list
modding/function/objhasattribute.txt · Last modified: by 127.0.0.1
