Page 1 of 1

Please, what does this mean?

Posted: Sun Aug 19, 2007 2:54 pm
by Master Fionwë
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaHelper.cpp(312)
CallProc failed: bad argument #1 to `SetAmbientMusic' (number expected, got nil)
stack traceback:
[C]: in function `SetAmbientMusic'
(none): in function `ScriptInit'
How could I fix this?

RE: Please, what does this mean?

Posted: Sun Aug 19, 2007 4:29 pm
by Ace_Azzameen_5
Somewhere in your LUA you have something like this:
SetAmbientMusic
and you should comment it out to fix it
--SetAmbientMusic

Also, doing this should fix the map but the music might not work. The actual problem is that you're using a bad setting or calling a non-existent music stream or something to be ambient music.

Since it says "Number expected, got nil[blank; nothing]" I guess its probably SetAmbientMusic(1) FOR ON and SetAmbientMusic(0) for off.

RE: Please, what does this mean?

Posted: Sun Aug 19, 2007 4:42 pm
by Master Fionwë
Okay, thanks. I got it fixed now.