TaskInvokerGoToOffsetFromEntity Method (Entity, Int32, Single, Single, Single)

RAGE Plugin Hook Documentation

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

Makes the Ped go to an offset from the specified Entity.

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

public Task GoToOffsetFromEntity(
	Entity entity,
	int timeOut,
	float positionOffset,
	float angularOffset,
	float speed
)

Parameters

entity
Type: RageEntity
The Entity to go to.
timeOut
Type: SystemInt32
The time out in milliseconds, to allow the task to complete. If the task times out, the task will be cancelled.
positionOffset
Type: SystemSingle

[Missing <param name="positionOffset"/> documentation for "M:Rage.TaskInvoker.GoToOffsetFromEntity(Rage.Entity,System.Int32,System.Single,System.Single,System.Single)"]

angularOffset
Type: SystemSingle
The angular offset in degrees from the front of the Entity.
speed
Type: SystemSingle
The speed to move at, in meters per second. The Ped will move using the animation closest to the specified speed.

Return Value

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

Reference