CEffectData.SetSurfaceProp
From GMod Wiki
Revision as of 17:00, 12 December 2010 by Wizard of Ass (Talk | contribs)
Function | |
Syntax | CEffectData:SetSurfaceProp( Material ) |
Description: | |
Adds an material to an effect. | |
Returns: | nil |
In Object: | CEffectData |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=CEffectData.SetSurfaceProp]CEffectData.SetSurfaceProp [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- What sounds are emitted during collisions
- What effects are emitted when the surface is shot
- Mass, buoyancy, bounciness...
- The effect of the surface on nearby sounds (reverberation, echo, absorption...)
- Only gets called if you add $surfaceprop in the material it self e.g. $surfaceprop "metal" or something.