mob/player/var
currentDegree = 0
turning = 0
mob/player/verb
Rotate_Tank_Right()
if(!turning)
turning = 1
var/icon/I = 'Tank.dmi'
currentDegree += 5
if(currentDegree>=360)
currentDegree = 0
src.icon = turn(I, currentDegree)
sleep(1)
turning = 0
This is what moves them in the direction they're facing:
mob/player/Move()
if(canmove)
canmove = 0
if(src.class == "Tank") // Move them in the direction of their "currentDegree"
step(src, currentDegree, 0)
world << "Debug: Player moved"
sleep(1)
canmove = 1
Obviously I'm doing something wrong and I feel like a noob right now. I've tried multiple methods with step() and other procs. None seem to make them move. Perhaps I need ..()? Or wouldn't that just make them move normally?