Why do so many people put three colons on a line? That's one of THE most common bugs in scripts on this board.
I commend you for wanting to learn how to script, tho. Don't get me wrong.
Just, remember that there are ONLY two ":"s per line. The first one tells the engine that the commands following it are going to be Conditions... then the second colon tells the engine that the commands following THAT are going to be Actions.
It's all in my tutorials which can now be found in the Tips and Tricks guide compiled by Nickydude. I suggest looking them up.
As for your request, try this out:
;Header
desc = Animate and prevent collision
:state=0:animate=1,coloff,state=1
;End of Script
^
|_,- Give That script to your entity. Then place a soundzone on top of it and give the soundzone your desired sound.
Viola!~
The one and only,
~PlystirE~
Urlforce:
Dude, I'd rather be declared a dbpro noob than an fpsc legend any day!