GetCommandByIndex

From Dragon Age Toolset Wiki
Jump to: navigation, search

Returns the command at the specified index in the command queue.

command GetCommandByIndex(
object oObject,
int nIndex
);
Parameters:
oObject
the object to get the command from
nIndex
the index to get the command from
Returns:

command - the command at the specified index

Source:

script.ldf

Description

Index '0' is the command at the top of the queue, but not being executed yet.