Jump to content

MaximF_

Member
  • Content Count

    5
  • Joined

  • Last visited

  • Medals

Everything posted by MaximF_

  1. 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.
  2. I have gave variable names yes
  3. 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.
  4. I just do playSound, say3D, etc.
×