Jump to content

Recommended Posts

On the wiki for execVM is says:

 

"The script is first searched for in the mission folder, then in the campaign scripts folder and finally in the global scripts folder."

 

I read 

 

 

and

 

and then tried adding a simple hello.sqf

waitUntil {player == player};

hint "Hello!";

into ".....\Arma 3 - Other Profiles\[current profile]\scripts\ folder"

 

and a

0 = execVM "hello.sqf";

in the init field of the player.

 

But it come back with a 'can't find' message. I've tried various other folders at random.

 

Has anyone got this working in Arma3. Have I missed something simple? 

Share this post


Link to post
Share on other sites

Looks as if I did.

 

"In the dicussion of the execVM page it is discussed as well and seems to only apply to the early games"

 

Share this post


Link to post
Share on other sites

Arma cannot load external files at all anymore by default. You have to enable the -filePatching startparameter so that you can do that.

And then the "global" script directory is in your Arma folder. `execVM "test.sqf"` will execute test.sqf from your Arma installation folder.

  • Like 2
  • Thanks 1

Share this post


Link to post
Share on other sites

OK. That is useful to know. It would work for the testing I am doing. Thanks again Dedmen.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×