- Found in:
- F4SE
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
stringmenu
CK Wiki Description
Placeholder Description.
stringpath
CK Wiki Description
Placeholder Description.
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
