ID:270619
 
I've been coding for a while but alas... I seem to have forgotten how to change all objects on the map at once, I am ashamed.

If you need an example, I need to change all the tiles on a game board to red.
for(var/obj/O in world)
//continue
In response to Flame Sage
thank you, but then how would you change their icon_state? It cant be just plain 'icon_state = "red"' and it cant be 'src.icon_state' or 'usr.icon_state'

... so how do you do it?
In response to Carved in Shadows
for(var/obj/O in world)
O.icon_state="Study the DM guide... and tutorials too... and demos..."


- GhostAnime