ScriptEvent:distanceToPoint

From Mod Wiki

Parameters

vector position -- Position to check the distance to in world space.

Result

float

Supported By

idEntity

Functionality

Returns the distance from this entity to the given point.