MaximF_
-
Content Count
5 -
Joined
-
Last visited
-
Medals
Posts posted by MaximF_
-
-
3 hours ago, major-stiffy said:Remove the \ in front of sound.
Ex.
class CfgSounds { sounds[] = {}; class serverambient { name="serverambient"; sound[]={sounds\serverambient.ogg, 20, 1, 20}; // filename, volume, pitch, distance titles[] = {}; };
This works for me:
[serverambient, ["serverambient", 500, 1]] remoteExec ["say3D"];
I use it without the \ I was just seing if it worked liked that and both versions still don't. Same error. Type Object, expected nothing.
-
10 hours ago, pierremgi said:How do you call your sound (the entire line of script, not the command)?
I just do playSound, say3D, etc.
-
25 minutes ago, pierremgi said:Perhaps you added an object named banter1, or any other class above, in your scenario.
Nope
-
Recently the same scripts I use for all of my normal user-made missions cfg sound script have suddenly stopped working to a bug. Every time I use playSound or say3D I get this error: Type Object, expected nothing. Yet I can play the same sound with no problems when using the effects section in a trigger. This makes absolutely no sense as this exact script works on other missions I have made but for some reason not any of my recent ones. I seriously want to get a gun and shoot my computer 35 times this shit is so frustrating. Here is my desc.ext:
class CfgMusic
{
sounds[] = {cutscenemusic};
class music
{
name = "cutscenemusic";
sound[] = {"sound\cutscenemusic.ogg", db+1, 1.0};
titles[] = {0, ""};
};
};class CfgSounds
{
sounds[] = {};
class banter1
{
name = "banter1";
sound[] = {"\sound\banter1.ogg", 100,1};
titles[] = {};
};
class scline1
{
name = "scline1";
sound[] = {"\sound\scline1.ogg", 100,1};
titles[] = {};
};
class line3
{
name = "line3";
sound[] = {"\sound\line3.ogg", 100,1};
titles[] = {};
};
class banter4
{
name = "banter4";
sound[] = {"\sound\banter4.ogg", 700,1};
titles[] = {};
};
class banter5
{
name = "banter5";
sound[] = {"\sound\banter5.ogg", 1,1};
titles[] = {};
};
};author="Maxim";
OnLoadName = "The Last War";
OnLoadMission = "This will be the end...";
loadScreen = "images\splash1.jpg"
And beleive me, all of my aspects are correct like my sound folder is not spelt wrong and so on.
Arma 3 Cfg Sounds is Currently Bugged
in ARMA 3 - MISSION EDITING & SCRIPTING
Posted
I have gave variable names yes