2423 {
2425 if (conPointName.
Length() > 0)
2426 {
2427 if ( MemoryPointExists(conPointName) )
2428 {
2429 vector conPointMS = GetMemoryPointPos(conPointName);
2430 vector conPointWS = ModelToWorld(conPointMS);
2431
2433 conPointWS[1] = 0;
2434 pFromPos[1] = 0;
2435
2437 {
2438 return true;
2439 }
2440 }
2441 }
2442
2443 return false;
2444 }
string GetDoorConditionPointFromSelection(string selection)
static proto native float Distance(vector v1, vector v2)
Returns the distance between tips of two 3D vectors.
proto native int Length()
Returns length of string.