Space Station 13 - Modules - TypesProc Details

BranchedBolt

A lightning bolt drawn between two vectors with 3 to 6 branched lightning bolts

Procs

CreateInitializes the branched lightning bolts list the first bolt in the list will be the main bolt between the two given vectors with the addition of 3 to 6 branched bolts
DrawDraws a branched lightning bolt of type with a color between two assigned vectors on z or client screen
GetAllTurfsReturns a list of turfs between the bolt's starting vector to the bolt's end vector checking all segments including all branched bolts It can return null if no turfs are found.
GetTurfsReturns a list of turfs between the bolt's starting vector to the bolt's end vector without including branched bolts because this only checks first and last vectors it returns a form of line between both vectors and can be inaccurate if bolt segments stray too far It can return null if no turfs are found.
NewConstructs the branched bolt, from vector source to vector dest

Proc Details

Create

Initializes the branched lightning bolts list the first bolt in the list will be the main bolt between the two given vectors with the addition of 3 to 6 branched bolts

Draw

Draws a branched lightning bolt of type with a color between two assigned vectors on z or client screen

GetAllTurfs

Returns a list of turfs between the bolt's starting vector to the bolt's end vector checking all segments including all branched bolts It can return null if no turfs are found.

GetTurfs

Returns a list of turfs between the bolt's starting vector to the bolt's end vector without including branched bolts because this only checks first and last vectors it returns a form of line between both vectors and can be inaccurate if bolt segments stray too far It can return null if no turfs are found.

New

Constructs the branched bolt, from vector source to vector dest