TaskInvokerGoToWhileAiming Method (Entity, Single, Single)

RAGE Plugin Hook Documentation

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

Makes the Ped go to the specified Entity while aiming at it.

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

public Task GoToWhileAiming(
	Entity entity,
	float distanceThreshold,
	float aimingStartDistance
)

Parameters

entity
Type: RageEntity
The Entity to go to.
distanceThreshold
Type: SystemSingle
The distance from the entity to stop at.
aimingStartDistance
Type: SystemSingle
The distance from the entity to begin aiming at it from.

Return Value

Type: Task
An instance of Task that can be used to retrieve information about the task.
See Also

Reference