Box (console command): Difference between revisions
Jump to navigation
Jump to search
Tip:Clearable by command clear_debug_overlays
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[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. | ||
{{note|Doesn't work in {{hls}}{{hl2}} (possibly not working in single player titles{{confirm}})}} | {{note|Doesn't work in {{hls}}{{hl2}} (possibly not working in single player titles{{confirm}})}} | ||
Line 9: | Line 10: | ||
<code>box 100 500 31 996 78 -655</code> | <code>box 100 500 31 996 78 -655</code> | ||
== See also == | == See also == | ||
* {{cmd|drawcross}} | * {{cmd|drawcross}} |
Revision as of 01:15, 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.

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