
(I have previously made a (quite complex) animated "button", with synchronised sound and avatar animation, that opens a "door" ... and it works perfectly, so it's not like this is my first attempt.)
All I want to do now, is to make a simple "button" that animates and plays a sound without any avatar animation ... so ... I made the button (called button1), added the IPO animation and set it to loop and autostart ... checked it in game ... Works perfectly.
Then I added a generic logic region (called KeyPadRgn) to surround the button (to make it clickable), and added a sound emitter (called emit_but1snd) for the sound.
I then set about using "sections" of my previous Alcscript (and obviously changed the animation to not autostart or loop and changed the names of the various objects) ...
Now, I thought I had got my head around the Alcscript for animations ... but obviously not, ...

This SIMPLE button just refuses to animate or play the sound !
Sure, I get the hotspot ... but no "action" ... grrrrr ...
Now, can anyone spot where I am going wrong with the alcscript ...
Your help would be VERY much appreciated as I have 8 more of these simple buttons to create.
Once I can get one working ... then I´ll be ok ...

Cheers