Jump to content
Sign in to follow this  
Fetzen

Script not found...

Recommended Posts

Hello

im a new to this, there is hopefully a simple solution to my issue:

im trying around for the first time with spawns from scripts. There are obviously examples everywhere and i have done it with triggers, so regarding the script part i guess i can figure that out.

my problem is that when i trigger the event in the game preview, i get the error that it cant find the Whateverthescriptnameis.sqf

what am i doing wrong?

thanks for helping out

i launch from a proximity trigger with this line currently "dum = [] execVM "spawneastgroup1.sqf";" and that is the name of the file....

Share this post


Link to post
Share on other sites

Where is "spawneastgroup1.sqf" located? To call it like that it must be in the root folder, as in the same location as mission.sqm .

If you put the script in another folder, lets say "scripts" you have to call it like dum = [] execVM "scripts\spawneastgroup1.sqf"; .

Share this post


Link to post
Share on other sites

hm no its in the root folder.... but good to know that i can create subfolders. didnt think about that yet.

Share this post


Link to post
Share on other sites

Make sure of the file extension. If you have "show file extensions" turned off you wont see that notepad saved it as spawneastgroup1.sqf.txt.

Have file extensions show and be sure to save as "all files".

Edited by OpusFmSPol

Share this post


Link to post
Share on other sites

that was a useful hint :D

thank you very much indeed

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
Sign in to follow this  

×