Causes the player character to automatically follow another unit. Only friendly player units can be followed.


See also Movement functions.

Signature:

FollowUnit("unit") or FollowUnit("name" [, strict])

Arguments:

  • unit - A unit to follow (string, unitID)
  • name - Name of a unit to follow (string)
  • strict - True if only an exact match for the given name should be allowed; false to allow partial matches (boolean)