This script allows you to create "waves" in environment water. You can alter the period and amplitude of the waves, as well as the average height.
How to use (admin-only):
/waves: Brings up the help menu, will also be opened if the command doesn't exist.
/waves freq #: Changes the period of the wave to #, that is, the number of seconds between cycles. Yes, I know frequency and period are different.
/waves amp #: Changes the amplitude of the wave to #, that is, how high/low the wave gets.
/waves base #: Changes the average height of the wave to #.
/waves base: Changes the average height of the wave to the current level.
/waves set: Toggles whether waves are active.
All commands can be used while waves are active, but you can't alter the water level in the environment or via events while waves are active (you can when they're disabled, of course.) Enjoy!
Script_WavesThis is my first scripted add-on, so if you find any problems with it, just let me know. Thanks to Headcrab Zombie and Advanced Bot for helping me fix some issues with it.