Object::highlightPlacementCoords: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
draws circular marker at pos<br>-1 = none<br>0 = red<br>1 = green<br>2 = blue<br>3 = green larger<br>4 = nothing<br>5 = green small
draws circular marker at pos<br>-1 = none<br>0 = red<br>1 = green<br>2 = blue<br>3 = green larger<br>4 = nothing<br>5 = green small
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">object.highlightPlacementCoords(x, y, z, colorIndex);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.object.highlightPlacementCoords(x, y, z, colorIndex);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''x:''' float
*'''x:''' float
Line 11: Line 11:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Object_function_c}}
{{Object_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:28, 6 May 2017

draws circular marker at pos
-1 = none
0 = red
1 = green
2 = blue
3 = green larger
4 = nothing
5 = green small

Syntax

mp.game.object.highlightPlacementCoords(x, y, z, colorIndex);

Required Arguments

  • x: float
  • y: float
  • z: float
  • colorIndex: int

Return value

  • Undefined

Example

// todo

See also

  • [[Object::disableGlow|mp.game.object.disableGlow