Returns whether the player is in range of an NPC that can reset talents. Usable following the CONFIRM_TALENT_WIPE event which fires when the player speaks to an trainer NPC and chooses to reset his or her talents. Used in the default UI to hide the confirmation window for such if the player moves too far away from the NPC.


See also Talent functions, Trainer functions.

Signature:

inRange = CheckTalentMasterDist()

Returns:

  • inRange - 1 if the player is in range of a talent trainer; otherwise nil (1nil)