Engine.StartResource

From Tomb Raider Mod Launcher Wiki
Revision as of 06:52, 12 August 2014 by Jack9267 (talk | contribs) (Created page with "== Function == <syntaxhighlight lang="javascript"> function bool Engine.StartResource(resourceName); </syntaxhighlight> === Arguments === * resourceName ** The name of the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function

function bool Engine.StartResource(resourceName);

Arguments

  • resourceName
    • The name of the resource to start.

Description

This function will attempt to start the resource.

Returns

The function returns if the server was able to start the resource, possible reasons could include scripts containing errors.

Notes

If the resource doesn't exist then an error is thrown.