STEAM GROUP
Left 4 Dead 2 Workshop Beta L4D2WSB
STEAM GROUP
Left 4 Dead 2 Workshop Beta L4D2WSB
2
IN-GAME
20
ONLINE
Founded
15 October, 2012
shotgunefx 18 Jul, 2013 @ 5:59pm
Anyone know how to use DebugDrawBox?
No idea what the args are supposed to be. I would guess with 3 vectors, would be an origin and two extens, but no luick
< >
Showing 1-7 of 7 comments
Neil - 119 18 Jul, 2013 @ 7:02pm 
Yep,

void DebugDrawBox(const Vector &origin, const Vector &mins, const Vector &maxs, int red, int green, int blue, int alpha, float flDuration)
shotgunefx 19 Jul, 2013 @ 9:18am 
Hmmm, that what I thought, I think where I messed up was alpha, Thanks. I figured it was a natural fit for rendering script triggers entities
shotgunefx 19 Jul, 2013 @ 10:04am 
Does a convar need to be enabled for them to render?

//test.nut printl("drawing at "+self.GetOrigin()); DebugDrawBox(self.GetOrigin(),Vector(-64,-64,-64),Vector(64,64,64),255,255,255,255,60.0);

If I "ent_fire !nick runscriptfile test" nothing is drawn
shotgunefx 25 Aug, 2013 @ 8:10pm 
Bump? This would be helpful for the entity tool
Neil - 119 25 Aug, 2013 @ 9:55pm 
Only the host can see the box. Download my Stranded mutation; I have an example of it in the code.
shotgunefx 26 Aug, 2013 @ 3:27am 
Will do, but I'm always local hosting and not seeing anything
shotgunefx 26 Aug, 2013 @ 1:33pm 
Interesting, think I found the problem, it appears if you use it in a script, via script scriptname, or runscriptcode, it doesn't work which is how I tested it in the first place. odd. It may hav4e to do with the console being open, who knows.
< >
Showing 1-7 of 7 comments
Per page: 1530 50