Difference between revisions of "Call"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Lubronbrons
imported>Lubronbrons
Line 5: Line 5:
  | returnVal = returnValue
  | returnVal = returnValue
  | returnType = multi
  | returnType = multi
  | arguments = function:ref arg1:multi arg2:multi ... arg10:multi
  | arguments = function:ref arg1:multi arg2:multi ... arg10:multi
  }}  
  }}  



Revision as of 11:10, 19 February 2018

< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(returnValue:multi) ref.Callfunction:ref arg1:multi arg2:multi ... arg10:multi

calls a user-defined function. Should be followed by a list of arguments matching the types expected by the function. If a calling reference is specified, commands within the function body will operate on that reference. Call returns whatever value is returned by the function.