FinishCommand

Category: Objects / Commands
Since engine version: 5.1 OC

Description

Ends a command in the command stack of an object.

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.
See also: AddCommand, AppendCommand, GetCommand, SetCommand
Günther, 2004-04