Functions Documentation
View Function Edit Function
Name envHasAttribute
Syntax (envHasAttribute number string)
Argument List number: The unid of the space environment you are querying about.
string: The name of the attribute.
Returns True if it has it nil otherwise.
Category condition query, 0.99, unid
Description Checks to see if the given space environment has the given attribute and returns the result.
Example (envHasAttribute &seNebula; 'nebula)
Will return true.
Comment Useful in checking if a certain type of environment is near a space object.