Skip to content

stick

Members of this datatype relate to the '/stick' command and can be accessed via the ${Stick} TLO.

Members

bool Active

Displays true if any form of stick is active.

bool Always

Returns true if /stick always is active.

bool Behind

Displays true if currently behind target (regardless of /stick behind), false if outside of stick dist or not behind.

bool Broken

Returns true if BreakonHit event has halted stick prematurely.

float Distance

Current distance used by stick.

float DistMod

Current stickdist modifier.

float DistModPercent

Current stickdist percent modifier.

bool Loose

Displays true if loose sticking is enabled.

bool MoveBack

Displays true if moveback is active.

bool MoveBehind

Displays true if stick behind is active.

bool Paused

Displays true if plugin is paused.

bool Pin

Displays true if stick pin is active.

string Status

Displays on if any form of stick is active.

int StickTarget

Returns spawnid of stick target if stick id/hold used, else spawnid of current target, 0 if no target and id/hold not used.

string StickTargetName

Returns DisplayedName of stick target if stick id/hold used, else current target or None if no target and hold/id not used.

bool Stopped

Displays true if stick is within stick distance.

string To string

Same as Status

This datatype is added by MQ2MoveUtils.