ID:177064
 
how do i make the icon change direction when it moves?
here's my code so far, which i just started:

world
mob = /mob/spybot/snaptrax
turf = /turf/floor

turf/floor
icon = 'Floor.dmi'

mob/spybot/snaptrax
icon = 'Snaptrax.dmi'
icon_state = "NORTH"
proc
North()
icon_state = "NORTH"
proc
East()
icon_state = "EAST"
proc
South()
icon_state = "SOUTH"
proc
West()
icon_state = "WEST"
Someone help plz.
It should already do that automatically. You just need to click on the button of the Video Camera instead of the painting thing when making a icon.
-DogMan
In response to Dog Man
Thnx alot.