Skip to main content

dcs.chunk_executer()

dcs.chunk_executer(chunk-id[, argument])

This function creates a native-action to executes a registered Lua chunk by dcs.register_chunk() within the DCS World process.

Parameters

ParameterTypeDescription
chunk-idnumberSpecify the chunk ID returned by dcs.register_chunk()
argumentnumber
string
Argument for chunk execution. If this parameter is not specified, the value of the event passed to the native action will be used.

Return Values

This function returns a native-action.

See Also