Category: Objects
/ Commands
Since engine version: 1.0 OC
FinishCommand
Description
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.
Syntax
bool FinishCommand(bool success, int command_num);
Parameters
- success:
- Whether to evaluate the ended command as successful.
- command_num:
- [opt] Index of the command. 0 is the current command, other values indicate the following commands.