If you must know i am a horrible scripter but i would really love if someone could tell me what i do wrong in this script.
The script was supposed to make a switch work if only it was given a key/enity.
;desc: switch and key combined
:state=0,plrdistwithin=60,plrhaskey=1,plrusingaction=1:state=1,setframe=0,sound=$0
:state=1:incframe=0:state=2
:state=2,plrdistwithin=50,plrusingaction=1:state=3,plrsound=$0,activateifused=1,alttexture=1
:state=3,plrusingaction=0:state=4
:state=4,plrdistwithin=50,plrusingaction=1,plrsound=$1,activateifused=0,alttexture=0
Please tell me what to do and what i do wrong
visit [url/]http://paralyzegames.googlepages.com/[url]