Player::reserveEntityExplodesOnHighExplosionCombo: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
This was previously named as 'RESERVE_ENTITY_EXPLODES_ON_HIGH_EXPLOSION_COMBO'<br>which is obviously incorrect.<br><br>Seems to only appear in scripts used in Singleplayer. p1 ranges from 2 - 46.<br><br><br>I assume this switches the crime type
This was previously named as 'RESERVE_ENTITY_EXPLODES_ON_HIGH_EXPLOSION_COMBO'<br>which is obviously incorrect.<br><br>Seems to only appear in scripts used in Singleplayer. p1 ranges from 2 - 46.<br><br><br>I assume this switches the crime type
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">player.reserveEntityExplodesOnHighExplosionCombo(p1);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.player.reserveEntityExplodesOnHighExplosionCombo(p1);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''p1:''' int
*'''p1:''' int
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Player_function_c}}
{{Player_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:30, 6 May 2017

This was previously named as 'RESERVE_ENTITY_EXPLODES_ON_HIGH_EXPLOSION_COMBO'
which is obviously incorrect.

Seems to only appear in scripts used in Singleplayer. p1 ranges from 2 - 46.


I assume this switches the crime type

Syntax

mp.game.player.reserveEntityExplodesOnHighExplosionCombo(p1);

Required Arguments

  • p1: int

Return value

  • Undefined

Example

// todo

See also