安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题








No I just tested the mission directly, and it worked there. Which file contains the mission data? I could take a look.
The ship consists of multiple objects (similar to the vanilla USS Freedom carrier).
I don't think you can get the objects directly, so instead you should use lineIntersectsSurfaces.
I'll send you a sample code in a bit.
https://www.dropbox.com/s/5g11s900r9n8ltl/m2.Malden.zip?dl=0
I've written a code that does everything for you! You just have to move to the door step and register a bunch of positions! :)
First download the file. It only contains the changed files. So place them in the mission folder. (also replace init.sqf)
Next, run the mission, and then manually walk to every door that is used in the mission, face the door, (it's very important to face the door directly, and stand exactly in the door step, so it's okay to open the door because the triggers are created later) and run this code in debug console:
Once you're all done, type in this code in debug console:
Next, you need to open the file init.sqf and replace the variable
That's all, restart and run the mission!
P.S: If you're interested, the file which does this whole process is: createTriggers.sqf
Hey Erika,
Did you manage to get it working?
BTW, I modified the file getTriggerPos.sqf to also show you where the triggers are created in 3D. So replace the contents with this one instead:
You're welcome!