cyrilfiggis 14 Posted March 10, 2015 Hi there, I have a mission that I made in the editor. On the player's init line I call a file called introDialogue.sqf using the execVM command as such nul = execVM "introDialogue.sqf"; This works in the editor preview, but when I go to export the mission to singleplayer, I get an error saying that the file cannot be found. I have checked the .pbo and everything is in there, and I exported the mission with the same name as the editor version. I am really at a loss here, any help would be appreciated. Share this post Link to post Share on other sites
654wak654 25 Posted March 10, 2015 If it doesn't include the player, why whould you put it in his init? You can just put it in the init.sqf as [] execVM "introDialogue.sqf"; Though the file not being found shouldn't be the error even in this case, just bad syntax (or should it be?). The editor preview can be very deceptive sometimes... Share this post Link to post Share on other sites
cyrilfiggis 14 Posted March 10, 2015 (edited) When I make that change, it doesn't work in preview mode either. --EDIT-- I did the change wrong. When I do it correctly, it still works in preview, but it does not work in Singleplayer export. No error is being raised that I can see. --EDIT 2-- I was able to solve the issue by placing the command inside a trigger instead of an init field. Worked like a charm. Thanks for your help wak. Edited March 10, 2015 by CyrilFiggis Share this post Link to post Share on other sites