| 11-21-2008, 09:58 PM | #1 |
Hi Guys I would like to source some JASS script out in an external file, which I can add via the import editor. The problem is that WC3 don't import a script file from the map archive to the maps script but that would be exactly what I want it to do. I know that there's the following command in vJASS://! import "Script.j"The better method take the external script directly out of the map archive and include it to the maps script. For this, I tried to export the map files with vJASS://! external FileExporterI don't know how to solve this problem - so I would be very glad about your solution proposals :) |
| 11-21-2008, 11:15 PM | #2 |
You cannot use //! import on stuff in the import manager, and it would be hard for //! external to work since it is evaluated after vJass is compiled. My tip: Just use the file outside of WE, it is easier, yes, really. Much easier. You may still distribute your map with the files imported on it later. |
