But I dont know what to do to ' verify ' if the player pressed the arrows, at least I did this :
mob
Clone
hp = 1
icon = 'player.dmi'
mob
var
clone= 0
verb
Clone()
var/mob/Clone/C = new()
clone= 1
C.overlays = src.overlays
C.loc = src.loc
flick('Skills/Clone.dmi',C) //Smoke xD
M_Left(clone,C) // I know that this is not the correct way, but its here that I dont know what to do...
mob
proc
M_Left(c1,c2)
var/t = b1
if (t==0)
return
else
walk(c2,WEST)
These will have to work with the logic that the player CONTROLLING will call the proc to move the clone.
I assume you got WASD already but unless you can see yourself too it might be moot to allow them to even control themselves at the same time(using two different controls depending on the clone & self.)