2711 {
2713 if (conPointName.
Length() > 0)
2714 {
2715 if ( MemoryPointExists(conPointName) )
2716 {
2717 vector conPointMS = GetMemoryPointPos(conPointName);
2718 vector conPointWS = ModelToWorld(conPointMS);
2719
2721 conPointWS[1] = 0;
2722 pFromPos[1] = 0;
2723
2724 if (vector.Distance(pFromPos, conPointWS) <= pDistance)
2725 {
2726 return true;
2727 }
2728 }
2729 }
2730
2731 return false;
2732 }
string GetDoorConditionPointFromSelection(string selection)
proto native int Length()
Returns length of string.