This article's documentation is for anything that uses the Source engine. Click here for more information.

Env debughistory: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot under supervision.)
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 2: Line 2:
{{ent not in fgd}}
{{ent not in fgd}}
{{CD|CDebugHistory|file1=env_debughistory.cpp}}
{{CD|CDebugHistory|file1=env_debughistory.cpp}}
{{this is a|name=env_debughistory|e0}}
{{this is a|point entity|name=env_debughistory}}
It's an entity used for debugging. In most games it's disabled from functioning and is removed upon spawning.
It's an entity used for debugging. In most games it's disabled from functioning and is removed upon spawning.



Revision as of 20:07, 17 May 2024

Stub

This article or section is a stub. You can help by expanding it.

Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.
C++ Class hierarchy
CDebugHistory
CBaseEntity
C++ env_debughistory.cpp

env_debughistory is a point entity available in all Source Source games. It's an entity used for debugging. In most games it's disabled from functioning and is removed upon spawning.

Games this entity works in: [Todo]

ConCommands

Cvar/Command Parameters or default value Descriptor Effect
dbghist_addline <int> <string> <category id> <line> Add a line to the debug history. Format: <category id> <line>
dbghist_dump <int> <category id> Dump the debug history to the console. Format: <category id> Categories: 0: Entity I/O 1: AI Decisions 2: Scene Print 3: Alyx Blind 4: Log of damage done to player

FGD

@PointClass = env_debughistory : "To be used with commands dbghist_addline and dbghist_dump" []
Tip.pngTip:Adding this entity to fgd is not really needed since it's possible to just click on the classname window and write its name.