client/North()
if(src.drivemove)
step(src.mob, src.mob.dir)
else
..()
client/South()
if(src.drivemove)
src.mob.dir = turn(src.mob.dir, 180)
src.North()
src.mob.dir = turn(src.mob.dir, 180)
else
..()
client/East()
if(src.drivemove)
src.dir = turn(mob.dir, -45)
else
..()
client/West()
if(src.drivemove)
mob.dir = turn(mob.dir, 45)
else
..()
client/Northeast()
client/Northwest()
client/Southeast()
client/Southwest()
Problem description:
I want the character to move differently depending on wether or not the "drivemove" var is 1 but it says the variable isnt defined because it's not a client variable. If I make it a client variable then I get weird results (world turns 90 degrees... pretty cool)
Hint: "usr." (term used loosely) for the client's mob is "mob."
And try to learn how to manipulate client/Move(), less mess in my opinion :P
- GhostAnime