Skip to main content

RAGE.Game.Ai.TaskGoToCoordAndAimAtHatedEntitiesNearCoord

Client-side function

C#​

Required Params​

  • pedHandle: int
  • goToLocationX: float
  • goToLocationY: float
  • goToLocationZ: float
  • focusLocationX: float
  • focusLocationY: float
  • focusLocationZ: float
  • speed: float
  • shootAtEnemies: bool
  • distanceToStopAt: float
  • noRoadsDistance: float
  • unkTrue: bool
  • unkFlag: int
  • aimingFlag: int
  • firingPattern: uint

Return value​

  • void

Syntax​

RAGE.Game.Ai.TaskGoToCoordAndAimAtHatedEntitiesNearCoord(pedHandle, goToLocationX, goToLocationY, goToLocationZ, focusLocationX, focusLocationY, focusLocationZ, speed, shootAtEnemies, distanceToStopAt, noRoadsDistance, unkTrue, unkFlag, aimingFlag, firingPattern)

Example​

//todo