Cvarlist: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (added console command template)
No edit summary
Line 1: Line 1:
{{Console Command}}
{{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.



Revision as of 16:59, 12 July 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).