Background for Fallout 4
Member of the UI script
varfunctionInvoke(stringmenu, stringpath, var[]args=NONE)NativeGlobal

Description

Wiki Description

Invoke an AS3 function from Papyrus.

Documentation Comment

Top-level arguments are converted to their actual types, empty Vars are undefined
Vars, Structs, and Forms are converted to AS3 objects
Var example:
{"var": 1.0}
Struct Example:
{"struct": {"type": "scriptowner#mystruct", "data": {"member1": 1.0, "member2": false}}}
Form Example:
{"type": "ScriptObject", "handleHigh": 0x0000FFFF, "handleLow": 0x00000000}
Forms shouldn't be manipulated from AS3, they are container objects meant to be passed back from AS3 to Papyrus


Parameters

  1. stringmenu

    CK Wiki Description

    Placeholder Description.

  2. stringpath

    CK Wiki Description

    Placeholder Description.

  3. var[]args=NONE

    CK Wiki Description

    Placeholder Description.


Examples

; Placeholder Code.

Auto-Generated Example

string myString__menu
string myString__path
var[] myVarArray__args

var returnedValue = UI.Invoke(myString__menu, myString__path, myVarArray__args)

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.