Call

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

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 the value specified by the function.

Syntax

[help]
(multi) reference.Call function:script multi:arg(up to 15) 

Example

Call MyUDF
int iValue

let iValue := Call MyOtherUDF SunnyREF
if eval (Call MySuitableUDF)
    ; * My UDF return evaluated to true
endif
player.Call MyPlayerUDF

See Also