Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support
To return the path of a different folder, call the GetPath function with one of the following arguments:
0 : location of the project folder
1: location of the "Root" sub-folder (in the compiled version of the project, it corresponds to the project folder)
2: location of the "External" sub-folder (default)
3: location of the "Config" sub-folder
4: location of the "Areas" sub-folder
5: location of the "Frames" sub-folder
6: location of the "FramesData" sub-folder
7: location of the "Icons" sub-folder
For example, GetPath(2) will return the path of the "External" sub-folder that is inside the project folder.
Launches an executable or opens a file with the associated program. The syntax is:
Action.ExeFileAndWait "FILENAME"
where FILENAME is the name of the file you want to launch. If FILENAME does not contain the full path of the file, Adventure Maker will assume that the file is located in the "External" subfolder that is inside the project folder.
Action.ExeFileAndWait GetPath(2) & "GAME1\MYGAME1.EXE"
Name: "{app}\External\MYGAME1"
Source: "External\GAME1\MYGAME1.EXE"; DestDir: "{app}\External\GAME1"; DestName: "MYGAME1.exe"
Return to Adventure Maker General Discussion
Users browsing this forum: No registered users and 0 guests