byond - Modules - TypesVar Details - Proc Details

/atom/movable/screen

A screen object, which acts as a container for turfs and other things you want to show on the map, which you usually attach to "vis_contents".

Vars

assigned_mapMap name assigned to this object. Automatically set by /client/proc/add_obj_to_map.
clear_with_screenIf FALSE, this will not be cleared when calling /client/clear_screen()
del_on_map_removalMark this object as garbage-collectible after you clean the map it was registered on.
hudA reference to the owner HUD, if any.
masterA reference to the object in the slot. Grabs or items, generally.

Procs

fill_rectSets screen_loc to fill a rectangular area of the map.
set_positionSets screen_loc of this screen object, in form of point coordinates, with optional pixel offset (px, py).
update_iconle awesome parent type

Var Details

assigned_map

Map name assigned to this object. Automatically set by /client/proc/add_obj_to_map.

clear_with_screen

If FALSE, this will not be cleared when calling /client/clear_screen()

del_on_map_removal

Mark this object as garbage-collectible after you clean the map it was registered on.

This could probably be changed to be a proc, for conditional removal. But for now, this works.

hud

A reference to the owner HUD, if any.

master

A reference to the object in the slot. Grabs or items, generally.

Proc Details

fill_rect

Sets screen_loc to fill a rectangular area of the map.

If applicable, "assigned_map" has to be assigned before this proc call.

set_position

Sets screen_loc of this screen object, in form of point coordinates, with optional pixel offset (px, py).

If applicable, "assigned_map" has to be assigned before this proc call.

update_icon

le awesome parent type