Returns whether the player is close enough to a unit for certain types of interaction
See also Unit functions.
unit- A unit to query (
distIndex- Number identifying one of the following action types (
canInteract- 1 if the player is close enough to the other unit to perform the action; otherwise nil (