Hi everyone
am tryin to script an entity so that it loops a sound when the player is near and the sound fades away as the player gets further..
here's wut I have so far
:state=0,plrdistwithin=600:loopsound=$0,state=1
:state=1,plrdistwithin=100:MUSICVOLUME=100
:state=1,plrdistwithin=200:MUSICVOLUME=80
:state=1,plrdistwithin=300:MUSICVOLUME=60
:state=1,plrdistwithin=400:MUSICVOLUME=40
:state=1,plrdistwithin=500:MUSICVOLUME=20
:state=1,plrdistfurther=600:stopsound
it doesn't work and the entity doesn't play any sound close or far..
-I've assigned the sound in the entity properties
-set the entity to dynamic
-put the script in (main)
TY
~Level my Dragon~[/url]
Best Wishes..