Jump to content

Sign in to follow this  
Przemek_kondor

how to get upper folder?

Recommended Posts

hi.

in my mission folder i have 2 subfolders: \missions and \scripts.

in \mission subfolder i have script in which I wrote:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

[_places, _times, _view_distances] execVM "..\scripts\set_intel.sqf";

coz i want to exec other script which is in \scripts subfolder

but ".." doesn't work.

so how to get addres of upper folder?

Share this post


Link to post
Share on other sites

You don't have to put the "..\" part, because the paths are always started from your mission's folder.

Simply put "scripts\set_intel.sqf".

At least it functions this way with sqs'.

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  

×