Pathfind::loadAllPathNodes: Difference between revisions
(yay) |
(yay) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
Loads all path nodes.<br><br>If keepInMemory is true, all path nodes will be loaded and be kept in memory; otherwise, all path nodes will be loaded, but unloaded as the game sees fit.<br><br>-MulleDK19.==Syntax==<syntaxhighlight lang="javascript">pathfind.loadAllPathNodes(keepInMemory);</syntaxhighlight>=== Required Arguments ===*'''keepInMemory:''' Boolean===Return value===*'''Boolean'''==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{ | Loads all path nodes.<br><br>If keepInMemory is true, all path nodes will be loaded and be kept in memory; otherwise, all path nodes will be loaded, but unloaded as the game sees fit.<br><br>-MulleDK19. | ||
==Syntax== | |||
<syntaxhighlight lang="javascript">mp.game.pathfind.loadAllPathNodes(keepInMemory);</syntaxhighlight> | |||
=== Required Arguments === | |||
*'''keepInMemory:''' Boolean | |||
===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:28, 6 May 2017
Loads all path nodes.
If keepInMemory is true, all path nodes will be loaded and be kept in memory; otherwise, all path nodes will be loaded, but unloaded as the game sees fit.
-MulleDK19.
Syntax
mp.game.pathfind.loadAllPathNodes(keepInMemory);
Required Arguments
- keepInMemory: Boolean
Return value
- Boolean
Example
// todo