byond - Modules - TypesVar Details - Proc Details

after_image

Vars

color_cycleWhether we make a rainbow colour cycle
glide_sizeCurrent glide_size of the owner
hsvCurrent colour of the after image
image_durationHow long an image lasts
last_colour_timeLast world time we cycled a colour
last_directionLast dir faced by owner
last_movementLast move time of owner
loop_delayHow frequently an image is made
loop_timerHolds the loop timer
ownerMob we are making images of
previous_locLast loc of owner. Used for estimating the pixel_x and pixel_y of the target

Procs

handle_jumpRecords jump details
spawn_imageCreates the after image
update_glideUpdates last dir and glidesize after making a step
update_stepUpdates prev loc and move time when starting a step

Var Details

color_cycle

Whether we make a rainbow colour cycle

glide_size

Current glide_size of the owner

hsv

Current colour of the after image

image_duration

How long an image lasts

last_colour_time

Last world time we cycled a colour

last_direction

Last dir faced by owner

last_movement

Last move time of owner

loop_delay

How frequently an image is made

loop_timer

Holds the loop timer

owner

Mob we are making images of

previous_loc

Last loc of owner. Used for estimating the pixel_x and pixel_y of the target

Proc Details

handle_jump

Records jump details

spawn_image

Creates the after image

update_glide

Updates last dir and glidesize after making a step

update_step

Updates prev loc and move time when starting a step