SetCurrentCommandList Function

Sets the current command list.

Syntax

void SetCurrentCommandList(
CommandList@ commandList
)

Parameters

CommandList@ commandList
The CommandList instance to set.

Return value

None.

Remarks

Setting a new command list is like executing the load command in the console: the current command list is cleared and the new one is set. This means, that any timed/input commands contained in the new CommandList will now be executed in the race. Note that you have to call CommandList::Process in order to parse the actual text content before calling this function.