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?
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?
Every Day above ground - Is A Good Day
Old account, now known as CSJ.
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""";
};
};