ID:179808
 
how could I make it so it would detect every mob in the world and change their icon states to something else?
Geo wrote:
how could I make it so it would detect every mob in the world and change their icon states to something else?



You would use for() to loop through the mobs in the world eg:

mob/verb/Global_Icon_State()
for(var/mob/M in world)
M.icon_state="Whatever"



Hope that helped!
In response to Nadrew
Thanks allot, I've been trying to get the for() code working for awhile.