tModLoader v2025.03
A mod to make and play Terraria mods
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
NPCFollowState Class Reference

Public Member Functions

void Clear (NPC npcToBelongTo)
 
void FollowPlayer (int playerIndex)
 
void ReadFrom (BinaryReader reader)
 
void StopFollowing ()
 
void Update ()
 
void WriteTo (BinaryWriter writer)
 

Properties

Vector2 BreadcrumbPosition [get]
 
bool IsFollowingPlayer [get]
 
Player PlayerBeingFollowed [get]