Fandom

武装突袭 Wiki

Mission Editor: Debug Console (Take On Helicopters)

简体 | 繁體

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

您使用了广告屏蔽软件!


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

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

File:Tkoh editor debug.jpg

Starting 编辑

Debug Console is started by pressing ESC and F1 while previewing a mission.

Watch 编辑

Shows returned value of code written to one of four available fields. Refreshes it every 0.1 seconds, and will show scripting errors while you're writing the text.

Results of all fields are stored in _debug1 to _debug4 variables to which you can refer from other fields

  • Field 1:1 + 1
    • Returns: 2
  • Field 2:_debug1 * 2
    • Returns: 4

Content of all fields is stored into profileNamespace when console is closed and is restored again upon next start.

Expression 编辑

Six fields where you can write any code and execute it. Button uses execVM.

Alternatively, you can use keyboard shortcuts Ctrl1 to Ctrl+6 for each of the buttons.

Same as Watch fields, Expressions are stored persistently.

Custom scripts 编辑

Executes (execVM) scripts on the given path.

\hsim\@debug\debug*.sqf

* is replaced by number written on a button, e.g. 1 executes \hsim\@debug\debug1.sqf

Camera 编辑

Executes Camera.sqs

Config 编辑

Launch Config Viewer

Functions 编辑

Launch Functions Viewer

Effects 编辑

TBA

更多维基

随机维基