ok, let us try to fix it:
This is your start script:
;Artificial Intelligence Script
;Header
desc = WatchNews
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pressentertouse.tga,hudname=useswitchprompt,hudhide=1,hudmake=display,state=10
:plrdistwithin=50:hudshow=useswitchprompt,hudfadeout=useswitchprompt
:state=10,plrdistwithin=50,plrusingaction=1:plrsound=$0,activateifused=1,alttexture=0,state=2
:state=2,plrdistwithin=50,plrusingaction=1:sound=$1,music=audiobank\dmfe\radio.ogg,state=3,plrsound=$0,activateifused=0,alttexture=0,state=4
:state=3,plrusingaction=0:state=10
:state=4,plrdistfurther=300:musicvolume=0
:state=4,plrdistwithin=299:music=audiobank\dmfe\radio.ogg,musicvolume=10,state=5
:state=5,plrdistfurther=300:state=10
:state=5,plrdistwithin=299:musicvolume=20
:state=5,plrdistwithin=199:musicvolume=30
:state=5,plrdistwithin=149:musicvolume=40
:state=5,plrdistwithin=99:musicvolume=50
:state=5,plrdistwithin=49:musicvolume=60
:state=5,plrdistwithin=10:musicvolume=70
;End of Script
So, now we watch every line:
Quote: ":plrdistwithin=50:hudshow=useswitchprompt,hudfadeout=useswitchprompt
"
This line we should write to:
:state=10,plrdistwithin=50:hudshow=useswitchprompt,hudfadeout=useswitchprompt
Because you can not turn your radio off in your script
Next line:
Quote: ":state=10,plrdistwithin=50,plrusingaction=1:plrsound=$0,activateifused=1,alttexture=0,state=2"
I did not understand why you use plrsound=$0 and alttexture=0, did you give your plr a sound? And why using alttexture=0 when no alttexture=1 is in your script. What I also not understand is activateifused=1? did your radio activate someting?
=> :state=10,plrdistwithin=50,plrusingaction=1:state=2
The next line is crazy:
Quote: ":state=2,plrdistwithin=50,plrusingaction=1:sound=$1,music=audiobank\dmfe\radio.ogg,state=3,plrsound=$0,activateifused=0,alttexture=0,state=4
"
Ok I can understand sound=$1 if you did a switch on sound in your radio settings, but state=3 and state=4 in one line?
=> :state=2,plrdistwithin=50,plrusingaction=1:sound=$1,music=audiobank\dmfe\radio.ogg,state=4
The next I did in one step:
:state=4,plrdistfurther=300:musicvolume=0
:state=4,plrdistwithin=299:music=audiobank\dmfe\radio.ogg,musicvolume=10,state=5
:state=5,plrdistfurther=300:state=10
:state=5,plrdistwithin=299:musicvolume=20
:state=5,plrdistwithin=199:musicvolume=30
:state=5,plrdistwithin=149:musicvolume=40
:state=5,plrdistwithin=99:musicvolume=50
:state=5,plrdistwithin=49:musicvolume=60
:state=5,plrdistwithin=10:musicvolume=70
All is good, but switch your radio off if you are too far away
My radio is not as inteligent
=>:state=5,plrdistfurther=300:state=4
As result I get this:
;Artificial Intelligence Script
;Header
desc = WatchNews
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pressentertouse.tga,hudname=useswitchprompt,hudhide=1,hudmake=display,state=10
:state=10,plrdistwithin=50:hudshow=useswitchprompt,hudfadeout=useswitchprompt
:state=10,plrdistwithin=50,plrusingaction=1:state=2
:state=2,plrdistwithin=50,plrusingaction=1:sound=$1,music=audiobank\dmfe\radio.ogg,state=4
:state=4,plrdistfurther=300:musicvolume=0
:state=4,plrdistwithin=299:music=audiobank\dmfe\radio.ogg,musicvolume=10,state=5
:state=5,plrdistfurther=300:state=4
:state=5,plrdistwithin=299:musicvolume=20
:state=5,plrdistwithin=199:musicvolume=30
:state=5,plrdistwithin=149:musicvolume=40
:state=5,plrdistwithin=99:musicvolume=50
:state=5,plrdistwithin=49:musicvolume=60
:state=5,plrdistwithin=10:musicvolume=70
;End of Script
I hope this script works. I hope I also could show your faults! Maybe I did a mistake, but you can correct me, if I did something wrong.
Corno_1
Make this forum to something a little bit better and release more stuff. So we can push the Request/NoobHelp threads aside.