/tg/ Station 13 - Modules - TypesVar Details - Proc Details

pinpointer

Vars

activeIs the pinpointer on?
alertTRUE to display things more seriously
close_rangeFrom 1 to this value, the sprite will display as though you're close.
icon_suffixIcon_state suffix for special pinpointer icons
medium_rangeFrom close_range + 1 to this value, the sprite will display as though you're medium distance away. Past this value, we'll display as though you're far.
minimum_rangeAt what range the pinpointer declares you to be at your destination. Use to hide the exact location of your target.
process_scanSome pinpointers change target every time they scan, which means we can't have it change every process() but instead when it turns on.
targetThe thing we're searching for

Procs

get_direction_iconCalled by update_icon after sanity. There is a target

Var Details

active

Is the pinpointer on?

alert

TRUE to display things more seriously

close_range

From 1 to this value, the sprite will display as though you're close.

icon_suffix

Icon_state suffix for special pinpointer icons

medium_range

From close_range + 1 to this value, the sprite will display as though you're medium distance away. Past this value, we'll display as though you're far.

minimum_range

At what range the pinpointer declares you to be at your destination. Use to hide the exact location of your target.

process_scan

Some pinpointers change target every time they scan, which means we can't have it change every process() but instead when it turns on.

target

The thing we're searching for

Proc Details

get_direction_icon

Called by update_icon after sanity. There is a target