ID:177304
 
"step_to(Ref,Trg,Min=0)"

that's the format the byond help file says to us it in

but I don't know what "Trg" means

"Trg: An object on the map."

ok but that doesn't really explain it very well. if anyone could tell me what it means I would be very thankful. thanks.

Canar
"Trg: An object on the map" means exactly that. A 'Trg' is something on the map.
So it would be something like a obj or mob. In this case its what you want the Ref to step_to.
So step_to(src,M) would move src towards M.
-DogMan
In response to Dog Man
Also, I believe "Trg" is short for "target". I mention this because I think that name is used in multiple helpfiles.
In response to ACWraith
heh thanks guys. I had a short brain fart. I knew thats what it meant but when I tried it, it wouldnt work. I had left out the end parenthesis though and when I saw an error with that line I just figured I messed up with the target. Thanks.

Canar