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

drift

Component that handles drifting Manages a movement loop that actually does the legwork of moving someone Alongside dealing with the post movement input blocking required to make things look nice

Vars

delayedHave we been delayed? IE: active, but not working right this second?
ignore_next_glideShould we ignore the next glide rate input we get? This is to some extent a hack around the order of operations Around COMSIG_MOVELOOP_POSTPROCESS. I'm sorry lad

Procs

InitializeAccepts three args. The direction to drift in, if the drift is instant or not, and if it's not instant, the delay on the start
handle_glidesize_updateWe're going to take the passed in glide size and use it to manually delay our loop for that period to allow the other movement to complete
stopped_pullingIf we're pulling something and stop, we want it to continue at our rate and such

Var Details

delayed

Have we been delayed? IE: active, but not working right this second?

ignore_next_glide

Should we ignore the next glide rate input we get? This is to some extent a hack around the order of operations Around COMSIG_MOVELOOP_POSTPROCESS. I'm sorry lad

Proc Details

Initialize

Accepts three args. The direction to drift in, if the drift is instant or not, and if it's not instant, the delay on the start

handle_glidesize_update

We're going to take the passed in glide size and use it to manually delay our loop for that period to allow the other movement to complete

stopped_pulling

If we're pulling something and stop, we want it to continue at our rate and such