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. |
See above table for return value and type.
To do.
// Listing #1: Todo.
To do