Kalidus
Junior Member
Posts: 5
Threads: 1
Joined: Apr 2013
Reputation:
0
|
RE: Scripting an on/off radio
Thanks for the nice and detailed answers so far guys! I have tried both Mr Credits and JustAnotherPlayer's scripts. Both of them makes me able to turn the radio on, but not off. When I turn it on, music plays. When I turn it off, the music keeps playing and if I turn it on again, the music track loads again behind the other one so it plays double... I can't find the reason for this, as the code seems logical and correct enough.
I have removed the Sound entity from the map so I just have the Script Area now, to emit the sound.
|
|
05-04-2013, 07:13 PM |
|