Jay Hughes
Member
From the reading that I have done, I search the script.log for the error number to get the text that caused the restriction. In this example I find the following:
Now Also from my reading I know that I am supposed to put a \ in front of the quote marks inside the value so that BE will not think they are the ending of the string. But what about the carriage returns? I also notice that the string above is short 1 quote, do I add it? Do I encase the whole string in new quote marks and comment out all of the existing ones?
I know someone is going to say "Just change it to a 1" or "just erase scripts.txt all together, it sucks" but I am learning something fun here so I'd rather do it the right way and learn to fix it.
Could one of ya'll solve this one for me and please explain the logic so that I, and any others who find this post, can learn from it?
TIA
Jay
Code:
09.06.2013 21:35:07: XXXX (44.4444.444.44440 xxxxxxxxxxxxxxxxxxxxxxxxx - #111 "bal _crate;
clearBackpackCargoGlobal _crate;
_crate addWeaponCargoGlobal ["M4A1_AIM", 4];
_crate addWeaponCargoGlobal ["M4A1_A"
Now Also from my reading I know that I am supposed to put a \ in front of the quote marks inside the value so that BE will not think they are the ending of the string. But what about the carriage returns? I also notice that the string above is short 1 quote, do I add it? Do I encase the whole string in new quote marks and comment out all of the existing ones?
I know someone is going to say "Just change it to a 1" or "just erase scripts.txt all together, it sucks" but I am learning something fun here so I'd rather do it the right way and learn to fix it.
Could one of ya'll solve this one for me and please explain the logic so that I, and any others who find this post, can learn from it?
TIA
Jay