UpdateWaterLevel
Usage
Updates the Actor's water level. Also handles diving and surfacing sounds if the Actor is a player. Usually called after the Actor moved.
Parameters
- splash - True by default. If true, create a splash if the Actor hit liquid.
Return value
Returns false if the splash was already handled. Always returns false since splashing is handled by the splash flag.
Examples
![]() |
Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated. |
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.