DebugCircle (script event)
From modwiki
Description
Line drawing for debug visualization.
Usage
In your script type...
void debugCircle( vector color, vector origin, vector dir, float radius, float numSteps, float lifetime )
Parameters
- [color] - The color to draw the circle.
- [origin] - The center of the circle.
- [dir] - The direction of the circle.
- [radius] - The size of the circle.
- [numSteps] - The number of iterations.
- [lifetime] - The duration to display the circle.
Examples
sys.debugCircle('1 0 0 ', '45 84 21', '45 21 78', 10, 2, 1);
Notes
This script event does not return any values.
Lifetime of 0 == 1 frame.

