Entity::isAt: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
Line 17: Line 17:
</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 18:01, 1 May 2024

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