Call of Duty Script Documentation

# line(<start>, <end>, <color>, <depthTest> )

## Module

    Debug

## Summary

    Draw a debug line on screen

## Example

    line (self.origin, self.origin + forwardFar, (0.9, 0.7, 0.6),  false);

## Minimum Number of arguments: 2

    1 : <start> start vector position of the line
    2 : <end> end vector position of the line

## Number of optional arguments: 2

    1 : <color> RGB color of the line in a vector, defaults to white
    2 : <depthTest> whether to only draw the line when it is in front of objects, defaults to false

Return to Function List