Actions Function Calls with Inline Parameters

The following group of actions performs a standard Lua function call, but instead of passing parameters previously pushed to the stack, passes inlined string parameters instead.  Any previously pushed parameters will be discarded.

As with the Call Lua Function action, any valid non-local function may be called.  Acceptable function name syntax is described in more detail here.

Call With 1 Parameter

Suspends the current event and executes a lua function, passing 1 string parameter included in the action.

Parameters

String Function Name
String 1st Parameter

Call With 2 Parameters

Suspends the current event and executes a lua function, passing 2 string parameters included in the action.

Parameters

String Function Name
String 1st Parameter
String 2nd Parameter

Call With 3 Parameters

Suspends the current event and executes a lua function, passing 3 string parameters included in the action.

Parameters

String Function Name
String 1st Parameter
String 2nd Parameter
String 3rd Parameter

Call With 4 Parameters

Suspends the current event and executes a lua function, passing 4 string parameters included in the action.

Parameters

String Function Name
String 1st Parameter
String 2nd Parameter
String 3rd Parameter
String 4th Parameter

Call With Delimited String

Suspends the current event and executes a lua function, passing a delimited string which will be parsed into multiple parameters.

The delimited string takes the form of "var1|var2|var3|...|varn", with the pipe character (|) used as the delimiter. The string will be split apart into multiple string paramters before being passed to the Lua function. This calling method provides direct compatibility with the original Lua Object calling convention, but does have some limitations.

Parameters

String Function Name
String Delimited Parameter String

Copyright 2010 Justin Aquadro