ID:259260
 
The code below never prints out anything... and I think I figured out why. It's waiting for me to print something with a line feed and dump the whole thing at once. Uncommenting the "This will enable output" line does just what it says it does.

Anyway, I can appreciate that this might be a good design decision for networking purposes, but it still seems to me that there should be a point, after maybe five or ten ticks, where BYOND bites the bullet and displays the accumulated text so far (without printing a line feed). Is such a thing possible?

proc/Go()
while(1)
var/obj/O
for(O in loc)
if(istype(O, /obj/arrow))
// world << "This will enable output."
if(O.dir != dir)
if(IsR(loc:Offset(dir, 0, 1)) && prob(50)) break
dir = O.dir
world << "D is [dir]\..."

step(src, src.dir)

sleep(delay)

Anyway, I can appreciate that this might be a good design decision for networking purposes, but it still seems to me that there should be a point, after maybe five or ten ticks, where BYOND bites the bullet and displays the accumulated text so far (without printing a line feed). Is such a thing possible?

Good point.