FxAddWood: Difference between revisions
Jump to navigation
Jump to search
(New page: __NOTOC__ {{Client function}} Creates a wood splinter particle effect. ==Syntax== <syntaxhighlight lang="lua"> bool fxAddWood ( float posX, float posY, float posZ, float dirX, float dirY, float dirZ, [in...) |
mNo edit summary |
||
Line 11: | Line 11: | ||
===Required Arguments=== | ===Required Arguments=== | ||
*'''posX, posY, posZ:''' the world coordinates where the effect originates. | *'''posX, posY, posZ:''' the world coordinates where the effect originates. | ||
*'''dirX, dirY, dirZ:''' a direction vector indicating where the wood | *'''dirX, dirY, dirZ:''' a direction vector indicating where the wood splinters fly to. | ||
===Optional Arguments=== | ===Optional Arguments=== | ||
*'''count:''' the number of | *'''count:''' the number of splinters to create. | ||
*'''brightness:''' the brightness. Ranges from 0 to 1. | *'''brightness:''' the brightness. Ranges from 0 (black) to 1 (normal color). | ||
==See Also== | ==See Also== | ||
{{Client Effects functions}} | {{Client Effects functions}} |
Revision as of 20:39, 25 June 2008
Creates a wood splinter particle effect.
Syntax
bool fxAddWood ( 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 wood splinters fly to.
Optional Arguments
- count: the number of splinters to create.
- brightness: the brightness. Ranges from 0 (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