/tg/ Station 13 - Modules - TypesVar Details

follow

Follow component

A simple component that allows hostile mobs to follow another mob in their faction. Default behaviour is alt click.

@author Gandalf2k15

Vars

follow_distanceThe distance we keep from the user.
follow_soundsSounds we play when the mob starts following.
follow_speedThe speed at which we follow the user.
followingAre we currently following? Used for playing sounds.
parent_mobOur parent mob.
unfollow_soundsSounds we play when the mob stops following via alt click.

Var Details

follow_distance

The distance we keep from the user.

follow_sounds

Sounds we play when the mob starts following.

follow_speed

The speed at which we follow the user.

following

Are we currently following? Used for playing sounds.

parent_mob

Our parent mob.

unfollow_sounds

Sounds we play when the mob stops following via alt click.