2568 {
2570 if (conPointName.
Length() > 0)
2571 {
2572 if ( MemoryPointExists(conPointName) )
2573 {
2574 vector conPointMS = GetMemoryPointPos(conPointName);
2575 vector conPointWS = ModelToWorld(conPointMS);
2576
2578 conPointWS[1] = 0;
2579 pFromPos[1] = 0;
2580
2581 if (vector.Distance(pFromPos, conPointWS) <= pDistance)
2582 {
2583 return true;
2584 }
2585 }
2586 }
2587
2588 return false;
2589 }
string GetDoorConditionPointFromSelection(string selection)
proto native int Length()
Returns length of string.