Just wondering if any of you have ran into a problem which seems like DBP is inserting a LF when it calls a function.
Due to my project's growing size, I had to split everything up into includes, and so reluctantly had to make use of the new IDE. This is where the problem first started.
I can write a string to my console log before the suspect function(s) are called and it's good. However, once the strings are written from within the function (immediately after the function def) there is a LF inserted right after the string. This obviously causes problems. The code for the functions didn't change at all.
Code when the function is called and inside the function:
Error_Write(Player.ControlledObject)
CX# = Object_Get_Camera_X(Player.ControlledObject, "Pilot")
.
.
.
function Object_Get_Camera_X(Name$, Camera$)
Error_Write(Name$)
Output of the console log:
Bowman_01
Bowman_01
Object Manager-->Object_Get_Camera_X-->Error=Object not found
I checked the above in my hex editor, and the problem char is indeed a LF.
In Development: K96 - Combat Simulation