Hi again guys, i dont know if this issue has already been solved or not since we are currenly running 3.5b until we get 3.5 final

, but, we are trying to apply climb feat and we are always getting:
"The target location is too far away to climb to. Please pick a closer target."
i took a look at prc_inc_skills, under DoClimb function and it seems that sctipt is checking distance, which is ok ofc.
int iDistance = FloatToInt(MetersToFeet(GetDistanceBetweenLocations(GetLocation(oPC), lLoc ) ) );
if (iDistance > 10)
{
SendMessageToPC(oPC, "The target location is too far away to climb to. Please pick a closer target.");
return FALSE;
}
now, i think issue comes into play now when we call GetDistanceBetweenLocations, since this function also takes into acount Z axis:
http://www.nwnlexicon.com/compiled/function.getdistancebetween.htmlmaking climb impossible since 10 feets is way too close and we dont even cover the hight one intends to climb.
acording to nwnlexicon, we could use vectors to ignore Z axis, any suggestion ?