ID:155891
Feb 17 2011, 5:00 pm
|
|
so lets just say that your figure is walking through water and you want his to go slow, How?
|
In response to Midgetbuster
|
|
Rather than a variable, just see src.mob.loc is of a water type turf.
client |
In response to Spunky_Girl
|
|
Even simpler way of doing it is to just have water hold its own variable. This will also let you add more movement impairing terrain later, if you choose to do so:
mob I kind of built this off the top of my head, so please tell me if this doesn't work. |
obviously thats not a fully working code and you should re do it for your needs but thats a general idea for you.
http://www.byond.com/docs/guide/