lineBeam 
a line made of line segments, used to create a growing animated line (useful for beams, bars etc)
Procs | |
Dispose | Handles soft deletion of beam segments by default after a beam faded it will be disposed |
---|---|
Draw | Draws a beam of type with a color between two assigned vectors on z or client screen |
Effect | Applys animation to beam segment this could be overriden by child types to allow different animations to beam by default, a beam will fully grow then begin to fade out |
GetTurfs | Returns a list of turfs between the beam's starting vector to the beam's end vector It can return null if no turfs are found. |
New | Constructs the beam, from vector source to vector dest |
Proc Details
Dispose
Handles soft deletion of beam segments by default after a beam faded it will be disposed
@param o the object segment to dispose
Draw
Draws a beam 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 beam
- @param thickness thickness of the beam
Effect
Applys animation to beam segment this could be overriden by child types to allow different animations to beam by default, a beam will fully grow then begin to fade out
@param o the object segment, each beam is made of several segments
GetTurfs
Returns a list of turfs between the beam's starting vector to the beam's end vector It can return 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 beam passes on
New
Constructs the beam, from vector source to vector dest
- @param source source vector, where the bolt starts
- @param dest destination vector, where the beam ends
- @param fade assigns fade out rate, default of 25