Intranet Catprocess
  1. news...
  2. about Blackvoxel
  3. download
  4. manual
  5. videos
  6. forum
  7. about us & contact
  1. GetPath


    var GetPath(integer index)

    Return the paths of Blackvoxel's working directories for use with squirrel file functions. Should be used instead of absolute path because the directories can be located in different locations depending on operating system and/or version. Because differrent operating system use different path separator character, don't forget to use GetInfo(20) to get the right one for the actual operating system.


    Index : An integer giving the code corresponding to the path type to get. See table below :

    Index Return Type Returned information
    0 (integer) Maximum value for PathType
    1 (string) Blackvoxel main data directory
    2 (string) Actual Universe save directory
    3 (string) Squirrel script directory
    4 (string) The directory for saving the data of your scripts
    You can use this location freely to store your own data.

    Return Value

    See above table for return value and type.

    Example of use

    To do.

    // Listing #1: Todo.
    To do

    See Also


  2. Google+