Difference between revisions of "GetScript"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-'''.*'''\r\n +)) |
imported>Odessa (expanded) |
||
Line 3: | Line 3: | ||
|summary = Returns the script of the reference or passed object. | |summary = Returns the script of the reference or passed object. | ||
|name = GetScript | |name = GetScript | ||
|returnType = | |returnType = script:form | ||
|referenceType = ref | |referenceType = ref | ||
|arguments = | |arguments = | ||
{{FunctionArgument | {{FunctionArgument | ||
|Name = | |Name = ScriptableObject | ||
|Type = | |Type = form | ||
|Optional = | |Optional = y | ||
}} | }} | ||
}} | }} | ||
==Example== | |||
<pre> | |||
ref MyScript | |||
set MyScript to SunnyREF.GetScript | |||
; alternatively or necessarily for non-references: | |||
set MyScript to GetScript SunnyREF | |||
</pre> | |||
==See Also== | |||
*[[SetScript]] | |||
*[[CompareScripts]] | |||
*[[GetCurrentScript]] | |||
[[Category:Functions_(FOSE)]] | [[Category:Functions_(FOSE)]] | ||
[[Category:Script Functions]] |
Latest revision as of 06:06, 6 August 2014
< [[::Category:Functions|Category:Functions]]
A function added by the Fallout Script Extender.
Description
Returns the script of the reference or passed object.
Syntax
(script:form) ref.GetScript ScriptableObject:form
Example
ref MyScript set MyScript to SunnyREF.GetScript ; alternatively or necessarily for non-references: set MyScript to GetScript SunnyREF