Skip to main content

dcs.execute_chunk()

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

This function 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. This parameter is optional.

Return Values

This function doesn't return any value.

See Also