2178 {
2180 if (conPointName.
Length() > 0)
2181 {
2182 if ( MemoryPointExists(conPointName) )
2183 {
2184 vector conPointMS = GetMemoryPointPos(conPointName);
2185 vector conPointWS = ModelToWorld(conPointMS);
2186
2188 conPointWS[1] = 0;
2189 pFromPos[1] = 0;
2190
2191 if (vector.Distance(pFromPos, conPointWS) <= pDistance)
2192 {
2193 return true;
2194 }
2195 }
2196 }
2197
2198 return false;
2199 }
string GetDoorConditionPointFromSelection(string selection)
proto native int Length()
Returns length of string.