Pathfind::isNavmeshLoadedInArea: Difference between revisions
(yay) |
(yay) |
||
| Line 1: | Line 1: | ||
Returns whether navmesh for the region is loaded. The region is a rectangular prism defined by it's top left deepest corner to it's bottom right shallowest corner.<br><br>If you can re-word this so it makes more sense, please do. I'm horrible with words sometimes...==Syntax==<syntaxhighlight lang="javascript">pathfind.isNavmeshLoadedInArea(x1, y1, z1, x2, y2, z2);</syntaxhighlight>=== Required Arguments ===*'''x1:''' float*'''y1:''' float*'''z1:''' float*'''x2:''' float*'''y2:''' float*'''z2:''' float===Return value===*'''Boolean'''==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{ | Returns whether navmesh for the region is loaded. The region is a rectangular prism defined by it's top left deepest corner to it's bottom right shallowest corner.<br><br>If you can re-word this so it makes more sense, please do. I'm horrible with words sometimes... | ||
==Syntax== | |||
<syntaxhighlight lang="javascript">mp.game.pathfind.isNavmeshLoadedInArea(x1, y1, z1, x2, y2, z2);</syntaxhighlight> | |||
=== Required Arguments === | |||
*'''x1:''' float | |||
*'''y1:''' float | |||
*'''z1:''' float | |||
*'''x2:''' float | |||
*'''y2:''' float | |||
*'''z2:''' float | |||
===Return value=== | |||
*'''Boolean''' | |||
==Example== | |||
<syntaxhighlight lang="javascript"> | |||
// todo | |||
</syntaxhighlight> | |||
==See also== | |||
{{Pathfind_s_function_c}} | |||
[[Category:Clientside API]] | |||
[[Category:TODO: Example]] | |||
Latest revision as of 21:29, 6 May 2017
Returns whether navmesh for the region is loaded. The region is a rectangular prism defined by it's top left deepest corner to it's bottom right shallowest corner.
If you can re-word this so it makes more sense, please do. I'm horrible with words sometimes...
Syntax
mp.game.pathfind.isNavmeshLoadedInArea(x1, y1, z1, x2, y2, z2);
Required Arguments
- x1: float
- y1: float
- z1: float
- x2: float
- y2: float
- z2: float
Return value
- Boolean
Example
// todo