Entity::isAt

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Checks if entity1 is within the box defined by x/y/zSize of entity2.

Last three parameters are almost alwasy p5 = 0, p6 = 1, p7 = 0

Syntax

entity.isAt(entity2, xSize, ySize, zSize, p5, p6, p7);

Required Arguments

  • entity2: Entity handle or object
  • xSize: float
  • ySize: float
  • zSize: float
  • p5: Boolean
  • p6: Boolean
  • p7: int

Return value

  • Boolean

Example

// todo

See also