Call of Duty Script Documentation
getclosestenemysqdist()
ModuleSentient
Summary
Get the distance to the nearest enemy
Call this function on
A sentient, either AI or player
Example
dist = self GetClosestEnemySqDist();
Minimum Number of arguments: 0
Number of optional arguments: 0
Return to Function List