Background for Fallout 4
Member of the UI script
boolfunctionLoad(stringmenu, stringsourceVar, stringassetPath, ScriptObjectreceiver=NONE, stringcallback="")NativeGlobal

Description

Wiki Description

Loads a child swf to the target.

Documentation Comment

Loads an asset (swf) as a child to the target variable
Target variable must be a Container (or has the addChild function)
This function will create a Loader object, add the Loader to the target
Then load the asset as a child to the Loader, this function is not immediate


Parameters

  1. stringmenu

    CK Wiki Description

    Placeholder Description.

  2. stringsourceVar

    CK Wiki Description

    Placeholder Description.

  3. stringassetPath

    CK Wiki Description

    Placeholder Description.

  4. ScriptObjectreceiver=NONE

    CK Wiki Description

    Placeholder Description.

  5. stringcallback=""

    CK Wiki Description

    Placeholder Description.


Examples

; Placeholder Code.

Auto-Generated Example

string myString__menu
string myString__sourceVar
string myString__assetPath
ScriptObject myScriptObject__receiver
string myString__callback

bool returnedValue = UI.Load(myString__menu, myString__sourceVar, myString__assetPath, myScriptObject__receiver, myString__callback)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.