Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

Difference between revisions of "DP SV ENTITYCONTENTSTRANSITION"

From Quake Wiki

(New page: Field definitions: <pre> .void(float nOriginalContents, float nNewContents) contentstransition; </pre> This field function, when provided, is triggered on an entity when the contents (ie....)
 
 
Line 9: Line 9:
  
 
Note: If this field function is provided on an entity, the standard watersplash sound IS SUPPRESSED to allow for authors to create their own transition sounds.
 
Note: If this field function is provided on an entity, the standard watersplash sound IS SUPPRESSED to allow for authors to create their own transition sounds.
 +
[[Category:DarkPlaces]]

Latest revision as of 02:21, 25 March 2013

Field definitions:

.void(float nOriginalContents, float nNewContents) contentstransition;

This field function, when provided, is triggered on an entity when the contents (ie. liquid / water / etc) is changed.

The first parameter provides the entities original contents, prior to the transition. The second parameter provides the new contents.

Note: If this field function is provided on an entity, the standard watersplash sound IS SUPPRESSED to allow for authors to create their own transition sounds.