LUADOC - Farming Simulator 22

Script v1_7_1_0

Engine v1_7_1_0

Foundation Reference

streamSharedI3DFile

Description
Stream shared I3D file. Can call the callback in the same callstack when the file is already loaded
Definition
streamSharedI3DFile(string filename, string callbackFunctionName, object target, object args, boolean addPhysics, boolean callOnCreate, boolean verbose)
Arguments
stringfilenamefilename
stringcallbackFunctionNamecallbackFunctionName (optional)
objecttargettarget (optional)
objectargsargs (optional)
booleanaddPhysicsaddPhysics (optional)
booleancallOnCreatecallOnCreate (optional)
booleanverboseverbose (optional)
Return Values
integerrequestIdrequest id for streaming, used to cancel the stream request