安装 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(越南语)
Українська(乌克兰语)
报告翻译问题










Runtime.UpdateFrequency = UpdateFrequency.Update100; whats the exact thing i need to type in order to slow this down to about 10 seconds?
// Setting script for self-update eache 100 ticks = 1.6 sec
Runtime.UpdateFrequency = UpdateFrequency.Update100;
So what the script is doing is every 1.6 seconds its checking every door to see if it needs closing.
If you want a script that only closes doors after they have been left open for a specific amount of time - checking each door individually or a full blown airlock script I think there are other scripters that provide this (check whiplash). Additionally You can set up a Timer block to switch the prog block on, run the code, switch the prog block off - and you can set the time delay this way.
FYI: Why is my script not checking each door time individually? The reason is because i wanted it to be as light weight as possible so as not to affect sim speed on servers.
Some thoughts on what might be causing the problems you are experiencing:
1. The script must be recompiled and rerun if you change which doors have the TAG [AutoDoor].
2. Multiple connected grids MAY possibly experience bugs if you do not use a different TAG and programable block for each grid. I recommend editing the script to change the TAG for each GRID you wish to connect to another grid. that also has automatic door closing. I recommend changing it to [GRIDNAMEAutoDoor].
3. If you wish to only close a single door or specific group just put the TAG in that doors name - the script absolutly should ignore ALL doors that are not tagged.
4. Do you have another script running that might be interfering? eg Whips airlock.
Plz let me know how you get on - if you need further assistance plz ask.