Fandom

武装突袭 Wiki

Script Path

简体 | 繁體

4,827个页面创建
于此维基上
添加新页面
评论0 Share

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。


Different type of files references 编辑

Notes 编辑

Game directory

c:\arma2

Parameter used:

-profiles=c:\arma2

ProcMon used to determine the file access.

Tests done from within a SP mission running a dev console:

call compile "CODE";

File only reference 编辑

_handle = [] execVM "test.sqf";

Searches in:

  • .\arma2\missions\CurrentMission.CurrentWorld\test.sqf
  • .\arma2\scripts\test.sqf
  • .\arma2\test.sqf

Subfolder reference 编辑

_handle = [] execVM "SubFolder\test.sqf";

Searches in:

  • .\arma2\missions\CurrentMission.CurrentWorld\SubFolder\test.sqf
  • .\arma2\scripts\SubFolder\test.sqf
  • .\arma2\SubFolder\test.sqf

Addon reference 编辑

_handle = [] execVM "\SubFolder\test.sqf";

Searches in:

  • .\arma2\SubFolder\test.sqf

Global scripts folder 编辑

For non addon references the game also looks for external files in the arma\scripts folder.

In the config space there is path defined that might define the location:

scriptsPath = "ca\data\scripts\";

noFilePatching 编辑

With -noFilePatching set as game parameter, the game will not look in external folders but only in addons for addon references.

See also:

See also 编辑

更多维基

随机维基