VectorDist(vectorA,vectorB);
Use vectorLen(vectorSub(%pos1,%pos2));
is there any other vector????(); commands and what do they do?
http://docs.garagegames.com/tge/official/content/documentation/Reference/Console%20Functions/TorqueScript_Console_Functions_21.html