Category: Objects / Commands
Since engine version: 1.0 OC
Ends a command in the command stack of an object. A finished command stays in the stack until it would be time for it to be executed and is removed only then.
bool FinishCommand(bool success, int command_num);
- Whether to evaluate the ended command as successful.
- [opt] Index of the command. 0 is the current command, other values indicate the following commands.