Fire::addSpecfxExplosion: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
<br>
<br>
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">fire.addSpecfxExplosion(x, y, z, explosionType, explosionFx, damageScale, isAudible, isInvisible, cameraShake);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.fire.addSpecfxExplosion(x, y, z, explosionType, explosionFx, damageScale, isAudible, isInvisible, cameraShake);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''x:''' float
*'''x:''' float
Line 16: Line 16:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Fire_function_c}}
{{Fire_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:06, 6 May 2017


Syntax

mp.game.fire.addSpecfxExplosion(x, y, z, explosionType, explosionFx, damageScale, isAudible, isInvisible, cameraShake);

Required Arguments

  • x: float
  • y: float
  • z: float
  • explosionType: int
  • explosionFx: Model hash or name
  • damageScale: float
  • isAudible: Boolean
  • isInvisible: Boolean
  • cameraShake: float

Return value

  • Undefined

Example

// todo

See also

Template:Fire s function c