Returns a (squared) distance to the quest objective location
See also Quest functions.
Signature:
distance = GetDistanceSqToQuest(index)
Arguments:
index- Index of a quest in the quest log (between 1 andGetNumQuestLogEntries()) (number)
Returns:
distance- Squared distance in yards to the quest objective location, 0 if the distance cannot be determined, ornilif the index points at a log header (number)