Unknown

From DarkAI

AI TEAM FOLLOW PLAYER

This command sets all entities in the friendly team to follow the player to within the specified distance. This can be useful for making the players allies defend the player, any enemies encountered will most likely be distracted by the group of targets and only a few may engage the player. Using a negative value for the maximum distance preserves the entities' current defend distances, otherwise all entities will use the new value.

Alternatively use the AI Entity Follow Player command to make individual entities follow the player. You can also use the AI Set Entity Defend Distance to change the maximum distance on a per entity basis.

Syntax
AI Team Follow Player Maximum Distance#

Parameters
Maximum Distance#, The maximum distance the entities will allow between the player and themselves before moving closer.

Return
n/a