R cleardecals: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(touch up)
Line 1: Line 1:
{{DISPLAYTITLE:r_cleardecals}}
{{DISPLAYTITLE:r_cleardecals}}
{{syntax|r_cleardecals <permanent>}}
'''<code>r_cleardecals</code>''' is a console command that will erase all decals currently placed in a map. If you add <code>permanent</code> at the end of the command (separate with a space), it will clear permanent decals as well (i.e. {{ent|infodecal}}s).
Permanent is an omittable [[boolean]] argument which specifies whether or not to clear permanent decals as well (i.e. [[infodecal]]s).


There are no available engine hooks for executing this command,<br>so the best way to execute it on a client is using <code>engine->ClientCommand</code>.
{{note|There are no available engine hooks for executing this command, so the best way to execute it on a client is using <code>engine->ClientCommand</code>.}}
[[Category:Console Commands]]
[[Category:Console Commands]]

Revision as of 09:00, 14 July 2018

r_cleardecals is a console command that will erase all decals currently placed in a map. If you add permanent at the end of the command (separate with a space), it will clear permanent decals as well (i.e. infodecals).

Note.pngNote:There are no available engine hooks for executing this command, so the best way to execute it on a client is using engine->ClientCommand.