Here is a chopped version of Bond1's flush sound saved as OGG...
And here is the
;Artificial Intelligence Script Conjured
;Header
desc = Flush the toilet
;Triggers
:state=0:state=1
:state=1,plrwithinzone=1,plrusingaction=1:sound=$0,alttexture=1
:state=1,plrdistfurther=200:alttexture=0
;End of Script
for the script I use with a toilet.
You also need...
1) Toilet model (nice one in model pack 2, hint hint)
2) You need dirty and clean textures for it. (mp2 toilet has both!)
3) You need the flush sound (attached to this post)
Set your toilet in your map.
Then set the texture to the dirty one, and set alt texture to clean one. (navigate to BOTH dds files - DO NOT type them in)
Set Sound0 to the flush.ogg (make sure the flush.ogg is placed in audiobank)
Now save the script above as an FPI file and assign it as the main AI for the toilet.
If you use a custom toilet, then don't forget to make it dynamic by setting STATIC MODE to NO
EDIT
I tacked on the plraddhealth to the flush action for this request.
Here is the
;Artificial Intelligence Script Conjured
;Header
desc = Flush the toilet
;Triggers
:state=0,plrwithinzone=1,plrusingaction=1:sound=$0,alttexture=1,plraddhealth=50,state=1
:state=1,plrwithinzone=1,plrusingaction=1:sound=$0,alttexture=1
:state=1,plrdistfurther=200:alttexture=0
;End of Script
if you want a gain on the first flush only.