User Tools

Site Tools


modding:function:envhasattribute

Discuss this page on this page's Talk Page

envHasAttribute

See envHasAttribute at Xelerus

Syntax (envHasAttribute number string)
Arguments 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 0.99, condition query, 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.

Return to Functions list

modding/function/envhasattribute.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1