phent_setdamping( ENTITY* entity*, var damping, var area)

Damping determines how the water surface reacts to distortions. A low value causes a goo-like slow motion whereas a high value makes the surface vibrate a lot. Area sets the size of the area affected by distortions a low value results in local distortions, higher values make the whole surface react to distortions.

Parameters:

entity the entity to be affected
damping amount wave damping, between 0.0 and 100.0
area area of damping, between 0.0 and 100.0

Returns:

1 if successful, 0 otherwise.

Speed:

Fast

Edition:

 P 

Example:

phent_setdamping(my, 100, 1);

See also:

phent_setdamping, phent_addforcelocal ► latest version online