Scud 0 Posted January 15, 2004 I have a ramp that opens and shuts and would like a noise/sound to coincide with the ramp movement probably gun_elevate. I have all the animations working, just need to add sound to cpp. What is the correct script and which section do I place it? Share this post Link to post Share on other sites
Scud 0 Posted January 17, 2004 Problem solved thanks to Kaliyuga and Tomb. If any1 else is interested // Cfg Sounds class CfgSounds { class rampsound { sound[]={"\scud_skyvanbr\gun_elevate.wss",db+50,0.4}; name = ""; titles[] = {}; }; }; // Useraction class class UserActions { class Openramp { displayName="Open Ramp"; position="pos_ramp"; radius=7.000000; condition="this animationPhase ""ani_ramp"" < 0.5"; statement="this animate [""ani_ramp"", 1]; this say ""rampsound"""; }; }; Share this post Link to post Share on other sites