Difference between revisions of "DEBUG ConsoleCommand"

From Dragon Age Toolset Wiki
Jump to: navigation, search
m (1 revision: Importing auto-generated function articles)
(add a note about how pointless this function is now. :))
 
Line 1: Line 1:
{{Generated}}
 
 
{{dafunction
 
{{dafunction
 
|name=DEBUG_ConsoleCommand
 
|name=DEBUG_ConsoleCommand
Line 18: Line 17:
 
== Remarks ==
 
== Remarks ==
 
<!-- This section contains additional comments, observations and known issues. -->
 
<!-- This section contains additional comments, observations and known issues. -->
This is debug only as it executes console command directly instead of sending a message to the client
+
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.
  
 
<!-- == Examples == -->
 
<!-- == Examples == -->

Latest revision as of 22:48, 21 August 2009

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.