FxAddBlood: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 14: | Line 14: | ||
===Optional Arguments=== | ===Optional Arguments=== | ||
{{OptionalArg}} | |||
*'''count:''' the number of flying droplets to create. | *'''count:''' the number of flying droplets to create. | ||
*'''brightness:''' the brightness. Ranges from 0 (almost black) to 1 (normal color). | *'''brightness:''' the brightness. Ranges from 0 (almost black) to 1 (normal color). |
Revision as of 20:46, 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
NOTE: When using optional arguments, you might need to supply all arguments before the one you wish to use. For more information on optional arguments, see optional arguments.
- count: the number of flying droplets to create.
- brightness: the brightness. Ranges from 0 (almost black) to 1 (normal color).
See Also
- createEffect
- fxAddBlood
- fxAddBulletImpact
- fxAddBulletSplash
- fxAddDebris
- fxAddFootSplash
- fxAddGlass
- fxAddGunshot
- fxAddPunchImpact
- fxAddSparks
- fxAddTankFire
- fxAddTyreBurst
- fxAddWaterHydrant
- fxAddWaterSplash
- fxAddWood
- getEffectDensity
- getEffectSpeed
- setEffectDensity
- setEffectSpeed