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

trackable

Vars

cameraticksHow many times we've failed to locate our target.
humansList of all humans trackable by cameras.
namecountsList of all namecounts for mobs with the exact same name, just in-case.
namesList of all names that can be tracked.
othersList of all non-humans trackable by cameras, split so humans take priority.
tracked_mobIf there is a mob currently being tracked, this will be the weakref to it.
trackingBoolean on whether or not we are currently trying to track something.
tracking_holderReference to the atom that owns us, used for tracking.

Procs

cancel_target_trackingCalled by Signals, used to cancel tracking of a target.
find_trackable_mobsGenerates a list of trackable people by name, returning a list of Humans + Non-Humans that can be tracked.
set_tracked_mobset_tracked_mob
set_trackingToggles whether or not we're tracking something. Arg is whether it's on or off.

Var Details

cameraticks

How many times we've failed to locate our target.

humans

List of all humans trackable by cameras.

namecounts

List of all namecounts for mobs with the exact same name, just in-case.

names

List of all names that can be tracked.

others

List of all non-humans trackable by cameras, split so humans take priority.

tracked_mob

If there is a mob currently being tracked, this will be the weakref to it.

tracking

Boolean on whether or not we are currently trying to track something.

tracking_holder

Reference to the atom that owns us, used for tracking.

Proc Details

cancel_target_tracking

Called by Signals, used to cancel tracking of a target.

find_trackable_mobs

Generates a list of trackable people by name, returning a list of Humans + Non-Humans that can be tracked.

set_tracked_mob

set_tracked_mob

Sets a mob as being tracked, if a target is already provided then it will track that directly, otherwise it will give a tgui input list to find targets to track. Args: tracker - The person trying to track, used for feedback messages. This is not the same as tracking_holder tracked_mob_name - (Optional) The person being tracked, to skip the input list.

set_tracking

Toggles whether or not we're tracking something. Arg is whether it's on or off.