FxAddBlood: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ {{Client function}} Creates a blood splatter particle effect. ==Syntax== <syntaxhighlight lang="lua"> bool fxAddBlood ( float posX, float posY, float posZ, float dirX, float dirY, float dirZ, [...)
 
mNo edit summary
Line 18: Line 18:


==See Also==
==See Also==
{{Client FX functions}}
{{Client Fx functions}}

Revision as of 19:59, 25 June 2008

Creates a blood splatter particle effect.

Syntax

bool fxAddBlood ( float posX, float posY, float posZ, float dirX, float dirY, float dirZ, [int count=1, float brightness=1.0] )

Required Arguments

  • posX, posY, posZ: the world coordinates where the effect originates.
  • dirX, dirY, dirZ: a direction vector indicating where the blood flies to.

Optional Arguments

  • count: the number of effects to create.
  • brightness: the brightness. Ranges from 0 to 1.

See Also

Template:Client Fx functions