DEBUG ConsoleCommand

From Dragon Age Toolset Wiki
Jump to: navigation, search

Execute console command.

string DEBUG_ConsoleCommand(
string sArg
);
Parameters:
sArg
The console command to execute, including arguments
Returns:

Returns the string that the console command returns.

Source:

script.ldf

Description

Execute a given console command.

Remarks

This is debug only as it executes console command directly instead of sending a message to the client

In the release version of the game the only console command that is still enabled is "runscript", rendering this function largely pointless.