Skip to content

Gettail

An alias of tail where the int form of entity refers to the AnimID of the entity to set the tailtarget instead of its Entity id.

Syntax

(1)

|gettail,entity|

(2)

|gettail,entity,transition|

Parameters

Refer to the tail documentation, but the only change is for the entity parameter (otherwise, this command behaves exactly like tail).

The int form of entity refers to an AnimID which allows to set the tailtarget without knowing the Entity id, but still knowing the AnimID.

If it is between 0 and 2 (Team Snakemouth's AnimIDs), this will be resolve to the corresponding player entity first if it is in the party.

For any other int (or if the Team Snakemouth AnimIDs isn't in the party), a search will be performed to get every EntityControl present and resolve to the first one that has the desired AnimID.

If it isn't found, this can lead to undesired behaviors because it will resolve to a null entity, but unlike specifying null as the value, it will not remove the existing tailtarget. It will remove the bleep however as well as shrink the textbox if tranistion isn't instant which effectively leaves a hidden textbox with a dangling tailtarget.

Any other value for this parameter functions the exact same way than tail and it supports every other value that aren't in the int form.

Remarks

It should be noted that for searching a non player Team Snakemouth entity, the list is obtained via FindObjectsOfType which does not guarantee its order. This means that if multiple entities with the desired AnimID are present, it is ambiguous which one the command will resolve to. For best results, it's best to use this command on a non Team Snakemouth entity only if it's possible to assume only one entity with the desired AnimID is present.

By the same token, this method of searching is much slower than the traditional Entity id method offered by tail so this command should only be used if needed and not too often.