TrainCarts/Signs/Detector [ja]

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "'''四行目''':''ステートメントその2''")
(Created page with "三行目と四行目が両方空欄の場合、Detectorサインは列車を探してレバーアウトプットを切り替えます。また、必要に応じて''detector''の後に名前を決めることで、ふたつのDetectorサインが互いに検知し合うことができます。")
Line 19: Line 19:
{{sign|[train]|detector (name)|o@player1|tag1}}
{{sign|[train]|detector (name)|o@player1|tag1}}


<div lang="en" dir="ltr" class="mw-content-ltr">
三行目と四行目が両方空欄の場合、Detectorサインは列車を探してレバーアウトプットを切り替えます。また、必要に応じて''detector''の後に名前を決めることで、ふたつのDetectorサインが互いに検知し合うことができます。
If the third and fourth lines are kept empty, it will toggle the lever whenever it finds a train. A name can optionally be put after the word ''detector'', to make sure two detector signs can only find each other.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
== 配置 ==
== Placement ==
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">

Revision as of 23:55, 21 June 2026

Other languages:

概要

DetectorサインはSwitcherサインとよく似ていますが、線路の分岐切り替えを行わない代わりに、複数の線路の検出を行えます。

Detectorサインは線路のとても長い範囲で列車を検出する時に便利です。たとえば、線路の上に列車があればSpawnサインを停止させる、別の線路に進ませる、などといった使い方が可能です。


記法

一行目列車かトロッコのどちらを検出対象にするか。

二行目detector

三行目ステートメントその1

四行目ステートメントその2

Signtemplate.png
[train]
detector (name)
o@player1
tag1


三行目と四行目が両方空欄の場合、Detectorサインは列車を探してレバーアウトプットを切り替えます。また、必要に応じてdetectorの後に名前を決めることで、ふたつのDetectorサインが互いに検知し合うことができます。

配置

Two detector signs in operation

Placement is rather difficult, since you need to use pairs of detector signs, one on both ends of the track to detect. The detector signs have to face each other, or they will have a hard time finding each other. Both signs are operated simultaneously, so you can use both ends to toggle a lever, using 4 statements in total. By adding multiple detector signs underneath one track you can expand the amount of statements.

Statements

On the third and fourth lines you can put the statements to evaluate.