Entity::isAtCoord: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
Line 19: Line 19:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Entity_function_c}}
{{Entity_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 17:55, 1 May 2024

Checks if entity is within x/y/zSize distance of x/y/z.

Last three are unknown ints, almost always p7 = 0, p8 = 1, p9 = 0

Syntax

entity.isAtCoord(xPos, yPos, zPos, xSize, ySize, zSize, p7, p8, p9);

Required Arguments

  • xPos: float
  • yPos: float
  • zPos: float
  • xSize: float
  • ySize: float
  • zSize: float
  • p7: Boolean
  • p8: Boolean
  • p9: int

Return value

  • Boolean

Example

// todo

See also