Intranet Catprocess
  1. news...
  2. about Blackvoxel
  3. download
  4. manual
  5. videos
  6. about us
  1. MoveVoxel3D

    Description

    bool MoveVoxel3D(integer sx, integer sy, integer sz, integer dx, integer dy, integer dz)

    Move a voxel from a specified location to another. All the eventual properties and content of the voxel are preserved. This function can only be used in Voxel_Step().

    Parameters

    sx,sy,sz : Coordinates of the source location relative to the player's location.

    dx,dy,dz : Coordinates of the destination location relative to the player's location.

    The source and destination locations must be in an accessible portion of the world.

    Return Value

    A boolean result with the true value if the transfert succeeded, false otherwise. If you try to access a location that is not in the loaded world, the function will fail. Note that this may occur briefly at any location after resuming from a saved game.

    Example of use

    To do.

    // Listing #1: Todo.
    To do

    See Also

    PickVoxel3D(), Look3D(), PlaceVoxel3D()

     
  2. Google+