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.
Connection lifetime: Each player or group-member connection resolved by this function is retained through the native call. A disconnect or reconnect during a callback cannot destroy that retained connection or switch the ongoing call to a replacement. A later Lua call resolves the current connection. This does not extend the lifetime of unrelated spawn or item userdata.