byond - Modules - TypesVar Details - Proc Details

draw_tool

Vars

starting_coordstemporary existing list used to calculate a line between the start of a click and the end of a click

Procs

draw_lineproc for drawing a line from list(startx, starty) to list(endx, endy) on the screen. yes this is aa ripoff of [/proc/getline]
on_mouseupCalled when the mouse is released again to finish the drag-draw

Var Details

starting_coords

temporary existing list used to calculate a line between the start of a click and the end of a click

Proc Details

draw_line

proc for drawing a line from list(startx, starty) to list(endx, endy) on the screen. yes this is aa ripoff of [/proc/getline]

on_mouseup

Called when the mouse is released again to finish the drag-draw