${Navigation.PathLength[${Spawn[${PullMob}].X} ${Spawn[${PullMob}].Y} ${Spawn[${PullMob}].Z}]}
651 if (pSpawn->UnderWater == 5 || pSpawn->FeetWet == 5)
652 {
653 FLOAT distance = (FLOAT)GetDistance(pSpawn->X, pSpawn->Y, pos.x, pos.y);
654 pSpawn->CameraAngle = (FLOAT)(atan2(pos.z - pSpawn->FloorHeight, distance) * 256.0f / PI);
655 }
if (pSpawn->UnderWater == 5 || pSpawn->FeetWet == 5)
{
FLOAT distance = (FLOAT)GetDistance3D(pSpawn->Y, pSpawn->X, pSpawn->Z, pos.y, pos.x, pos.z);
pSpawn->CameraAngle = (FLOAT)(atan2(pos.z - pSpawn->Z, distance) * 256.0f / PI);
}