FxAddBlood

From Multi Theft Auto: Wiki
Revision as of 20:37, 25 June 2008 by Arc (talk | contribs)
Jump to navigation Jump to search

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 (almost black) to 1 (normal color).

See Also