Explanation:
These last three lines are a crude way of calculating whether the enemy is within 5 spaces, in which case Torque uses
fire weapon
. This could be much more efficiently done with cmath, so Shea's probably changed it by now.