Oh well, cog programming at it's start...


[ Follow Ups ] [ Post Followup ] [ The Massassi Temple Message Board ]

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
----------------------------------------------------



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ The Massassi Temple Message Board ]