IsCloserToAThanB

From the CreationKit Wiki
Jump to navigation Jump to search


Compares distances between two object references (A and B) on a single reference, returning 1 if A is closer to the reference than B.

This is useful for complex Escort package templates, such as Escort Player.