Microsoft Visual C++ Debug LibraryDebug Assertion Failed!Program: D:\TES4\Oblivion\TESConstructionSet.exeFile: f:\dd\vctools\crt_bld\self_x86\crt\src\vsprint.cLine: 244Expression: ("Buffer too small", 0)
After which, CS crashes, and I have to reload CS, reload the mod, reload the script, and try something else.
Now I can do:
set dSightBonus to dNightEye
or
set dSightBonus to SaePvarQ.pLightLevel
without getting an error.
but if I do
set dSightBonus to (dNightEye * SaePvarQ.pLightLevel)
I get the error mentioned above.
This is very frustrating. Other times this has happened, I would rearrange the code and the problem goes away. But for this script, the code is as tight and efficient as can be!
The only other thing I can think of is that maybe the script is too long? The error kicks in on line 291, out of 294. And I still have another 50-100 lines that need to be inserted.
If anyone can shed some light on this subject, I would be very grateful. My modding has come to a complete halt over this.
saebel