SetResourceDefaultSetting: Difference between revisions
Jump to navigation
Jump to search
(New page: __NOTOC__ {{Server function}} This function is used to set a default setting for a specified resource. <!-- What are default settings? --> Category:Incomplete <!-- Do not remove u...) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Needs Example}} | |||
__NOTOC__ | __NOTOC__ | ||
{{Server function}} | {{Server function}} | ||
Line 25: | Line 26: | ||
==See Also== | ==See Also== | ||
{{Resource_functions}} | {{Resource_functions}} | ||
Revision as of 15:32, 23 December 2011
Script Example Missing Function SetResourceDefaultSetting needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
This function is used to set a default setting for a specified resource.
Syntax
bool setResourceDefaultSetting ( resource theResource, string settingName, string/int/float settingValue )
Required Arguments
- theResource: the resource where the setting is located
- settingName: the name of the default setting
- settingValue: the new value of the setting
Returns
Returns true if the default setting was successfully set, false otherwise.
Example
--TODO
See Also
- abortRemoteRequest
- call
- fetchRemote
- getResourceConfig
- getResourceDynamicElementRoot
- getResourceExportedFunctions
- getResourceFromName
- getResourceName
- getResourceRootElement
- getResourceState
- getThisResource
- getRemoteRequests
- getRemoteRequestInfo