Cvarlist: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (more text)
No edit summary
Line 1: Line 1:
{{Console command}}
{{Entity|type=convar|cvarlist}}{{confirm}} 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.
{{Entity|type=convar|cvarlist}}{{confirm}} 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.



Revision as of 17:13, 18 August 2023

Template:Entity[confirm] 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).