Cvarlist: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(documented log feature)
 
m (added console command template)
Line 1: Line 1:
{{Console Command}}
This console command generates a list of all console commands for the game it is run from. Parameters allow the generation of a partial list and saving the list to a file.
This console command generates a list of all console commands for the game it is run from. Parameters allow the generation of a partial list and saving the list to a file.


Line 5: Line 6:


Will display a list of all console commands beginning with "ai", and will record that list to "ai_commands.txt" (in the game's root directory).
Will display a list of all console commands beginning with "ai", and will record that list to "ai_commands.txt" (in the game's root directory).
[[Category:Console Commands]]

Revision as of 16:46, 26 June 2023

Template:Console Command This console command generates a list of all console commands for the game it is run from. Parameters allow the generation of a partial list and saving the list to a file.

For instance:

cvarlist ai log ai_commands.txt

Will display a list of all console commands beginning with "ai", and will record that list to "ai_commands.txt" (in the game's root directory).