Blockland Forums > Modification Help

Function for Walking

Pages: << < (5/9) > >>

Ipquarx:

moveForward(1);
moveBackward(1);
I think.
But, you can use
$MVForwardAction = number from 0-1;
To move at any speed forward. You can even go so slow it doesnt even play the walking animation! :D

CityRPG:

Port, just want to say that those posts are really enlightening. I had no idea that's how that stuff worked.

Lugnut:

okay, hadn't been on a computer for like two days
didn't realise what mvforwardaction did

otto-san:

He's asking for a serversided function.

Nexus:


--- Quote from: otto-san on January 25, 2012, 05:53:18 PM ---He's asking for a serversided function.

--- End quote ---

Just a shot in the dark:

Some function loops through all players and finds their locations, and, using their previous location, determines the maximum distance they could have traveled at the walking speed during that loop, and if they exceeded that distance, it teleports them to the spot that is in the same direction but the correct distance.

Any server that does that would be a big pile of poop, however.

Pages: << < (5/9) > >>

Go to full version