GetResourceLoadFailureReason: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Black Dragon (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
This function is used to determinate the reason for a resource to not start. | |||
This | |||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
string getResourceLoadFailureReason ( resource ) | string getResourceLoadFailureReason ( resource ) | ||
Line 10: | Line 8: | ||
===Required Arguments=== | ===Required Arguments=== | ||
*'''resource:''' The resource you wish to check. | |||
*''' | |||
===Returns=== | ===Returns=== | ||
Returns a string with the failure reason in it, or ''false'' if the resource doesn't exist. | |||
==Example== | ==Example== |
Revision as of 16:33, 20 June 2007
This function is used to determinate the reason for a resource to not start.
Syntax
string getResourceLoadFailureReason ( resource )
Required Arguments
- resource: The resource you wish to check.
Returns
Returns a string with the failure reason in it, or false if the resource doesn't exist.
Example
This example does...
--This line does... blabhalbalhb --abababa --This line does this... mooo
See Also
Template:FunctionArea functions -- leave this unless you complete the function