Mod:Creation Kit/CastAs - ScriptObject

Member of: ScriptObject Script

Attempts to cast this script as a different script, but without adding a dependency on the calling script.

Parameters

 * asScriptName: The script to cast to

Return Value
The casted script, if possible, otherwise None.