ID:266847
Jul 24 2002, 7:20 pm
|
|
I have finnaly found my flaw. Anways, How do I code a tanks style movement? Thank you for your time.
|
In response to ShadowSiientx
|
|
Thank you.
|
In response to Thief Jack
|
|
:P np.
|
In response to ShadowSiientx
|
|
When reposting someone else's code (id.82160, id.82445), it's courteous to at least credit them for it.
Lummox JR |
In response to Lummox JR
|
|
Ya.. sorry.(i was sleepy.)
so then. - Credit: lummox(cause he wrote that code.) |
West()
mob.dir=turn(mob.dir,45)
East()
mob.dir=turn(mob.dir,-45)
North()
var/turf/T=get_step(mob,mob.dir)
if(T) mob.Move(T,mob.dir)
South()
var/back=turn(mob.dir,180)
var/turf/T=get_step(mob,back)
if(T) mob.Move(T,mob.dir)