Quote:
|
Originally Posted by Rick
NPC Code:
function dist(x1, y1, x2, y2)
{
return ((x1 - x2) ^ 2 + (y1 - y2) ^ 2) ^ (1 / 2);
}
|
Wow, return actually returns now? Sweet Deal!
Wnyway, what I am now wondering: What did scripters who used return before it actually returned a value use it for?