Player::taskGotoAiming

From RAGE Multiplayer Wiki
Revision as of 23:40, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

eg

Player::TASK_GOTO_ENTITY_AIMING(v_2, PLAYER::PLAYER_Player_ID(), 5.0, 25.0);

ped = Ped you want to perform this task.
target = the Entity they should aim at.
distanceToStopAt = distance from the target, where the ped should stop to aim.
StartAimingDist = distance where the ped should start to aim.

Syntax

player.taskGotoAiming(target, distanceToStopAt, StartAimingDist);

Required Arguments

  • target: Entity handle or object
  • distanceToStopAt: float
  • StartAimingDist: float

Return value

  • Undefined

Example

// todo

See also