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
Parameter | Type | Description |
---|---|---|
chunk-id | number | Specify the chunk ID returned by dcs.register_chunk() |
argument | number string | Argument for chunk execution. This parameter is optional. |
Return Values
This function doesn't return any value.