ExecuteCommand Function
Puts a command in the command queue.
Syntax
void ExecuteCommand(
const string&in input,
ExecuteCommandFlags flags = ExecuteCommandFlags :: Default
)
Parameters
const string&in input
The command input. This can be multiple commands separated by ;.
ExecuteCommandFlags flags = ExecuteCommandFlags :: Default
The flags used for executing the command. See ExecuteCommandFlags for possible values.
Return value
None.
Remarks
Executes an input, just like if the user typed it in the console. If you need to ensure that the command will be executed immediately and not put in a queue, use the CommandList API.