Function: SpawnMove(spawn, player, max_distance, type)
Description: Allows a player to move a Spawn/Object, also restricting the max_distance of movement. Type represents either "floor" (default), "wall" or "ceiling"
Parameters:
spawn(Spawn) - Spawn object representingspawn.player(Spawn) - Spawn object representingplayer.max_distance(int32) - Distancemax_distance.type(string) - String valuetype.
Returns: None.