TrainCarts/Signs/Trigger [ja]

From BergerHealer Wiki
Revision as of 04:05, 19 June 2026 by Saihou-Heiki (talk | contribs) (Created page with "== 記法 ==")
Jump to navigation Jump to search
Other languages:

概要

Triggerサインは看板へ列車の情報を表示します。列車が駅に到達するまでのカウントダウンを表示することができ、測定用の内部的なストップウォッチ機能を含んでいます。なお、動作には他のサインと同じくレッドストーン信号が必要です。面倒なら[+train]を使いましょう。


記法

Signtemplate.png
[train]
trigger
trigger1
00:26


Second line: trigger


Third line

Sets the trigger name. The name is used to show the gathered information on signs later on. For the syntax example above, the following things can be displayed on signs, which will be updated by SignLink automatically:

Variable on sign What is displayed
%trigger1% The count-down from the time set on the fourth line
%trigger1T% The same as the above
%trigger1D% The destination of the train
%trigger1N% The train name
%trigger1V% The speed of the train


Fourth line

It sets the count-down time that is used when a train activates the trigger. You can use the common ':'-notation to make hour:minute:seconds, or minute:seconds, or just seconds. If you leave it empty, it will go into 'record mode'.


Record mode

This means that the plugin is going to calculate the duration itself. As soon as one minecart activates the trigger, it keeps track of this minecart while measuring the time. As soon as the minecart stops or is destroyed, the time is stopped and put on the sign.