GetResourceInfo
Jump to navigation
Jump to search
This article needs checking. | |
Reason(s): may return a string, bool or nil (?) --jbeta |
This function retrieves the value of any attribute in a resource info tag.
Syntax
string getResourceInfo ( resource theResource, string attribute )
Required Arguments
- theResource: the resource we are getting the info from.
- attribute: the name of the attribute we want info about.
Returns
Returns a string with the attribute value if it exists, false otherwise.
Example
--This line does... blabhalbalhb --abababa --This line does this... mooo