GetParameter

(Engine-Level Function)

Description: Returns the requested parameters as a constant, variable or code pointer.
Warning: This function should be used only by advanced programmers.
Returns: Constant, variable or code value.
Usage: Script Only.
Function Groups: Advanced Module
Related to:  
Format: GetParameter(Code, Index)
Parameters:  
Code
Required. Any expression for the code value or code pointer of the function.
Index
Required. Parameter number to obtain. Starts with 0 for the first parameter.
Comments:

If the parameter being retrieved is a constant number, then GetParameter just returns that number. The same goes for a constant string parameter.

If the parameter is just a variable, then GetParameter returns the variable (a value of type \#VTypeVariable).

If the parameter is itself a function, then GetParameter returns a code value for it.