Ped::setGroupFormation: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
0: Default<br>1: Circle Around Leader<br>2: Alternative Circle Around Leader<br>3: Line, with Leader at center
0: Default<br>1: Circle Around Leader<br>2: Alternative Circle Around Leader<br>3: Line, with Leader at center
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ped.setGroupFormation(groupId, formationType);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ped.setGroupFormation(groupId, formationType);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''groupId:''' int
*'''groupId:''' int
Line 9: Line 9:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Ped_function_c}}
{{Ped_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:29, 6 May 2017

0: Default
1: Circle Around Leader
2: Alternative Circle Around Leader
3: Line, with Leader at center

Syntax

mp.game.ped.setGroupFormation(groupId, formationType);

Required Arguments

  • groupId: int
  • formationType: int

Return value

  • Undefined

Example

// todo

See also