include()

Used to include scripts within other scripts.

Function Signature

 void include( string value )

Parameters

Parameter Type Description

value

string

The name of the script to include.

Return

Type Description

None

Technical Details

SBM ModScript version: 11.3.

Notes

Use include() to write utility scripts to use repeatedly within multiple scripts. The include("scriptname") function executes like other SBM ModScript functions; the referenced script is not executed until the function call is reached; therefore, functions defined in the included script will not be available until the call to include() has been executed. For details, see Including Other Scripts.

Related Topics

Free Functions