Posted by Ken_Shiro on December 08, 1998 at 17:54:58:
All I want to do is to play a sound by activating a switch... should be easy, though... but it won't work out for me. Could someone please take a look at this and tell me what I did wrong?
----------------------------------------------------
symbols
surface switch
sound theme=swtheme.wav local
message activated
end
code
activated:
SetWallCel(switch, 1);
PlaySoundLocal(theme, 1.0, 1.0, 0);
end
----------------------------------------------------