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....) |
(No difference)
|
Revision as of 13:31, 29 February 2008
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.