Skip to main content

ADD_COVER_POINT

Game.AddCoverPointHash0x18D5264D
Usage
local coverpointIndex = Game.AddCoverPoint(x, y, z, arg4, direction, arg6, isPriorityToPlayer)

Adds a cover point in the given position to cover from direction (in degrees).

Parameters

  • xnumberfloat
  • ynumberfloat
  • znumberfloat
  • arg4integerint
  • directionnumberfloat
  • arg6integerint
  • isPriorityToPlayerbooleanbool

Returns

  • coverpointIndexintegerint*
Original declaration
// 0x18D5264D
void ADD_COVER_POINT(float x, float y, float z, int, float direction, int, bool isPriorityToPlayer, int* coverpointIndex);