Box (console command): Difference between revisions
Jump to navigation
Jump to search
Warning:Make sure your game is not paused when issuing this command or it won't work. (type unpause in console before writing the command)
Tip:Clearable by command clear_debug_overlays
(old enemy) |
No edit summary |
||
Line 1: | Line 1: | ||
[[File:Dods-box-command-example.jpg|thumb|{{File:Dods-box-command-example.jpg}}]] | [[File:Dods-box-command-example.jpg|thumb|{{File:Dods-box-command-example.jpg}}]] | ||
{{This is a|console command|name=box}} It draws a box from red lines by specifying 2 corners' cordinates as parameter. It's axis aligned. | {{This is a|console command|name=box}} It draws a box from red lines by specifying 2 corners' cordinates as parameter. It's axis aligned and lasts for 100 seconds before disappearing. The command definition is not public as it's in engine code. | ||
{{warning|Make sure your game is not paused when issuing this command or it won't work. (type unpause in console before writing the command)}} | {{warning|Make sure your game is not paused when issuing this command or it won't work. (type unpause in console before writing the command)}} | ||
{{tip|Clearable by command clear_debug_overlays}} | {{tip|Clearable by command clear_debug_overlays}} | ||
Line 13: | Line 13: | ||
== See also == | == See also == | ||
* {{cmd|drawcross}} | * {{cmd|drawcross}} | ||
* {{cmd|ent_bbox}} |
Latest revision as of 02:49, 12 May 2025
box
is a console command available in all Source games. It draws a box from red lines by specifying 2 corners' cordinates as parameter. It's axis aligned and lasts for 100 seconds before disappearing. The command definition is not public as it's in engine code.


Syntax:
box x1 y1 z1 x2 y2 z2
Example:
box 100 500 31 996 78 -655