GetCurrentCommand

From Dragon Age Toolset Wiki
Jump to: navigation, search

This function returns current command for the specified object

command GetCurrentCommand(
object oObject
);
Parameters:
oObject
the object whose current command is being retrieved
Returns:

the current command, use GetCommandType to see if it is COMMAND_INVALID

Source:

script.ldf

Description

The 'current' command is the command that is currently being executed. It is considered outside of the command queue.