mob
proc
Add_Delay(D)
src.delay += D
var/column_count = 1
for(var/mob/m in battle_datum.Players)
if(!m.client) continue
winset(m,"playerdata","cells=0")
winset(m,"playerdata","columns=[battle_datum.Players.len]")
m << output("[src] data: 1,[column_count]","playerdata")
m << output("Current Delay - [src.delay]: 2,[column_count]","playerdata")
column_count ++
I wish there was a more simplistic way to work with them.
BTW, this is what you are telling DM:
- For ever /mob looped
- Erase grid
- Output mob to grid
There's one thing wrong with that...
Easiest way:
winset grid cells to 0x0
for(loop)
output looped variable
Note the lack of winset in the loop. After you empty the grid and output something to it, it'll automatically refit