Pathfind::loadAllPathNodes: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
(yay)
 
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.
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==
==Syntax==
<syntaxhighlight lang="javascript">pathfind.loadAllPathNodes(keepInMemory);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.pathfind.loadAllPathNodes(keepInMemory);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''keepInMemory:''' Boolean
*'''keepInMemory:''' Boolean
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Pathfind_function_c}}
{{Pathfind_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[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

See also

Template:Pathfind s function c