BlipTravelDistanceTo Method (ISpatial)RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Gets the distance from this instance to the specified ISpatial instance, if using the road system.

Namespace: Rage
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.47.1037.9935)
Syntax

public float TravelDistanceTo(
	ISpatial spatialObject
)

Parameters

spatialObject
Type: RageISpatial
The ISpatial to get the distance to.

Return Value

Type: Single
A Single representing the distance from this instance to the specified ISpatial, if using the road system.

Implements

ISpatialTravelDistanceTo(ISpatial)
See Also

Reference