Functions Documentation |
|
Name |
objHasAttribute |
Syntax |
(objHasAttribute spaceObject string) |
Argument List |
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 |
spaceobject, condition query
|
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. |
Comment |
Very helpful function if you want to find a certain group of ships/stations. |