The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

Legacy:Console Commands

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 07:11, 24 November 2012 by Cszhu (Talk | contribs) (Game Specific Console Commands)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The following pages describe the commands available from the game console. Some console commands are supported by the Unreal Engine itself and should therefore work in all Unreal Engine versions, ie all games based on the engine. Other console commands are applicable only to a specifc game.

This set of pages aims to replace UT2003 Console, UnrealEd Console, and UnrealEd 2 Console (I may leave the UnrealEd console pages alone). In additition to the previous pages there is also a Console class which may be of use.

Getting to the Console[edit]

  • To pop up the console, press ~ (tilde) or use the quick console (which displays a single line) that is available through the Tab key.
  • Console commands are not case sensitive. ADDBOTS, addbots and AddBots work alike.
  • The distinction between UnrealScript, C++ and other console commands is a purely technical matter and doesn't affect how the commands work.
  • UnrealScript console commands are handled by either the playerpawn's exec functions or by the exec functions of items in the playerpawn's inventory.
  • Please see UnrealEd Console and UnrealEd 2 Console for editor-related console commands.
  • Console commands can be bound to keys by editing the user.ini file.

Common Console Commands[edit]

Game Specific Console Commands[edit]

Unreal Editor Console Commands[edit]

Adding New Console Commands[edit]

You can use Exec Functions to add new console commands. See Exec Function.

Related Articles[edit]