AddStarterScript (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>LocalChum
No edit summary
>Trappingnoobs
fixed
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Locked}}
{{Locked}}


{{Method
<onlyinclude>{{Method
|name=AddStarterScript
|name=AddStarterScript
|object=ScriptContext
|object=ScriptContext
|protected=Yes
|protected=Yes
|arguments=[[Integer]] ''assetId''
|arguments=[[Integer]] ''assetId''
|description=Creates a [[StarterScript]] inside of ScriptContext.  The [[StarterScript]]'s [[LinkedSource]] is <code>"rbxassetid://" .. assetId</code>.}}
|description=Creates a [[StarterScript]] inside of ScriptContext.  The [[StarterScript]]'s [[LinkedSource]] is {{`|"rbxassetid://" .. assetId}}.
}}</onlyinclude>


[[Category:Methods]]
[[Category:Methods]]

Latest revision as of 19:48, 1 February 2012

Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
AddStarterScript( Integer assetId )
Returns nil
Description: Creates a StarterScript inside of ScriptContext. The StarterScript's LinkedSource is "rbxassetid://" .. assetId.
Member of: ScriptContext