Mod:Creation Kit/CallFunction

Calls a Papyrus function on a script attached to the specified reference.

Syntax
.CallFunction .CF

Parameters

 * Function: The function to call. The console tries to find the function on any scripts currently attached to the reference. If multiple scripts are found with the same function, you will have to clarify which script you mean with "script.function" syntax.
 * Param1 through Param10: (optional) The parameters to pass to the function in question.

Examples
myRef.CallFunction TestFunction myRef.CF "TestScript.TestFunction" 10 1.4 "Hello World" myRef selected "MyQuest.Alias2"