ID:267669
 
Just want to know how to make it so that when the user moves one tile say, south, the icon changes to another icon. I was thinking something along the lines of

if usr.Move = South()
flick usr.cion_state = "ICONTWO"
Not quite...
mob/Move()
if(dir == SOUTH)
flick("ICONSTATE",src)
(OR)
mob/Move()
if(dir == SOUTH)
icon_state = "ICONSTATE"

The first one will make it just flash the icon real quick, if you want it so when they change directions, it changes the way they are looking, make the icon of the person a movie, with 4 or 8 dir's.
I get what you're *trying* to do, but that's not how you do it. What you do, is you create an animated icon, and then in the directions menu(pull down by frames and delay) you choose four, or eight, whichever you prefer.
In response to Dragon of Ice
Dude, I have been working with BYOND for about 4 or 5 years now, I know that to make the icon move and change direction you simply access the camera icon and create an animation for the directions, I meant something else, your not quite grasping it. But thanks anyways.
The Conjuror.
In response to JackGuy
guys, I know all that. Its too hard for me to explain it in my faital attempts, so I shall try to achieve my goal on my own. Thanks for your answeres anyway, but I knew all that as it is basic common sense. END POST
In response to The Conjuror
client
tab>South()
tab>tab>..()
tab>tab>src.icon = 'whatever.dmi'
In response to Hendrix
Well, thats sort of it, but not quite, basically im making a 3D engine. But guys don''t worry about it I can manage on my own, thanks though.
In response to The Conjuror
I so grasped the concept though.
In response to Hendrix
Lol, almost hendrix, almost. Ill be on the oager probably sometime soon so if you wana talk about it there im fine with that. Thanks again for helping me with that small error yesterday. It helped a bunch, I was so stupid tonot know that. Anyways as I said before the post is over, theres no need to reply.
In response to The Conjuror
lol
*this post is now over but if its over why are you reading this?
In response to Hendrix
Lol, quiet you.
Oh wait, im not reading this!
Ahh!!!!!

*The Conjuror run's out of his living rom screeming at the top of his lungs!!!