/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.
recheckingIf we're currently rechecking our target's trackability in hopes of something changing
tracked_mobWhat mob are we currently tracking, if any
tracking_holderReference to the atom that owns us, used for tracking.

Procs

attempt_trackTries to track onto our target mob. Returns true if it succeeds, false otherwise
find_trackable_mobsGenerates a list of trackable people by name, returning a list of Humans + Non-Humans that can be tracked.
reset_trackingreset_tracking
set_recheckingControls if we're processing to recheck the conditions that prevent tracking or not
set_tracked_mobTakes a mob to track, resets our state and begins trying to follow it Best we can at least
track_inputtrack_input
track_mobtrack_mob
track_nametrack_name

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.

rechecking

If we're currently rechecking our target's trackability in hopes of something changing

tracked_mob

What mob are we currently tracking, if any

tracking_holder

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

Proc Details

attempt_track

Tries to track onto our target mob. Returns true if it succeeds, false otherwise

find_trackable_mobs

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

reset_tracking

reset_tracking

Resets our tracking

set_rechecking

Controls if we're processing to recheck the conditions that prevent tracking or not

set_tracked_mob

Takes a mob to track, resets our state and begins trying to follow it Best we can at least

track_input

track_input

Sets a mob as being tracked, 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

track_mob

track_mob

Sets a mob as being tracked, will track the passed in target Args: tracker - The person trying to track, used for feedback messages. This is not the same as tracking_holder tracked - The person being tracked.

track_name

track_name

Sets a mob as being tracked, will track the passed in target name's target Args: tracker - The person trying to track, used for feedback messages. This is not the same as tracking_holder tracked_mob_name - The person being tracked.