Sending messages to RPT log

Stuff and Junk

Well-Known Member
i seem to not be able to get the debug messages from my script to show in the rpt file. I have even copid the exact lines form other scripts to make sure i use a working line of code. I am running it from the mission pbo however and i think that might be a problem, but in sarge ai i can see alot of debug info for and it runs in the mission pbo too. Im a little lost if anyone could help me out that would be great. Im sure im overlooking something.​
 
thanks for the quick reply and the link. this is what i have so far and it doesnt seem to want to spam my log file

Code:
//Debug Info
_debugInfo =         true;
_debugRoll = round(_spawnRoll * 100);
 
if (_debugInfo) then {
     diag_log format ["Rare parent broadcast success with %1%2", _debugRoll, '%'];
  };

Im gonna go test what u linked too but i just figured what i had was correct :/
 
i didnt paste the spawnroll variable but its there too. I made sure all of my variables were correct first cause i thought that was it but it still didnt work.
 
Try keep it simple its prob an issue with arma parsing %1%2

diag_log format ["Rare parent broadcast success with %1", _debugRoll];
 
Back
Top