This new debug console extension v2.0 does pretty much what the version 1.0 does. The main difference is you do not need to spawn call it, you can call it directly from anywhere in your script. It will immediately return upon call so that your current script thread resumes as soon as possible. This is because the multi-threading is handled inside .dll.
As a result it takes about 0.23 seconds to call debug console 100000 times. This is very much the time it takes to call some simple function with call command inside SQF script. In addition, because there is no spawn command and artificial delay involved, the time it takes for actual console to output 100000 lines is about 20 seconds, a massive improvement on previous version which took several minutes (not that you ever need it).
- Console screen buffer in v2.0 is 10000 lines
- New command added. Sending “C” will clear the screen
- v2.0 does not return anything unlike v1.0 returning buffer size
You can still use preprocessor, but mostly for convenience now. Can be pretty handy if you want to output different colour lines but can’t be bothered adding hash ending each time.
The following example will stream all objects found in 30000 Km radius of player position (166000+ on Stratis) and double beep when finished.