line 
a line drawn between two vectors
Procs | |
Draw | Draws a line of type with a color between two assigned vectors on z or client screen |
---|---|
DrawOverlay | Draws a line of type with a color between two assigned vectors on z or client screen |
GetTurfs | Returns a list of turfs the line passes through returns null if no turfs are found |
New | Constructs the line, assigns both vectors A and B |
Rotate | Rotates the line |
Proc Details
Draw
Draws a line of type with a color between two assigned vectors on z or client screen
- @param z the map z level to draw on, if z is client it will draw on client screen
- @param type basic segment to use when drawing
- @param color color of the segment
- @param thickness thickness of the segment @return an object or an image of given type transformed into a line between defined vectors
DrawOverlay
Draws a line of type with a color between two assigned vectors on z or client screen
- @param root root object for starting position, return appearance can be added as an overlay to this object
- @param s basic segment to use when drawing
- @param thickness thickness of the segment @return an object or an image of given type transformed into a line between defined vectors
GetTurfs
Returns a list of turfs the line passes through returns null if no turfs are found
- @param z the map z level to search
- @param accurate controlls the accurecy of this function, lower number means more accurate results however it reduces performance 1 being the minimum @return a list of turfs the line passes on
New
Constructs the line, assigns both vectors A and B
- @param a first vector
- @param b second vector
Rotate
Rotates the line
@param angle the angle to rotate thel line by