交通管理プラグイン – Dahlys_Traffic.js

タイトル
Traffic Management
作者名
ヘルプ
==============================================================================
Traffic Management
==============================================================================

PLUGIN PARAMETERS:

Vehicle Name: 'car' by default, case insensitive. Works as long as the event
name contains 'car'. i.e. 'Car X', 'theCAR', 'carBus' are all cars! If you
change this to 'vehicle', all events named 'vehicle' will be blocked, but not
'car'. More than 1 name can be used, e.g. car,bus

Self Switch Red: Which self switch being ON means a traffic light is red? 'A'
by default.

Traffic Light Names: Traffic lights must be in groups. Each group must share
a common light switch timer. You can have as many groups as you want. Names
for different groups are separated by a comma without spaces.

Road Blocker Names: Same as traffic light names. Road Blocker Name order must
correspond with the order of Traffic Light Names. i.e. Traffic Light NS
activates Road Blocker NS. Must have the same number of entries as TLN, or the
plugin will glitch.

ROADBLOCK EVENTS:

Roadblock events with event names matching parameters Road Blocker Names have
to be created and placed on the road. Vehicles will stop before this roadblock
when the lights are red. They should be blank and have priorty same as
characters.
e.g. Event Name: Block NS
Effect: When TL NS is RED, Block NS will block vehicles. Nothing else is
blocked. Vehicles will remain blocked even if the light is green should
another event/the player be standing on top of Block NS (non-through).
パラメータ
param Vehicle Names
desc Names of Events to Block
Separate names by commas, no spaces
default car

param Self Switch Red
desc What self switch means a traffic light is red?
default A

param Traffic Light Names
desc Event Names for each type Traffic Light
Separate names by commas, no spaces
default TL NS,TL EW

param Road Blocker Names
desc Event Names for each type of Blocker
Separate names by commas, no spaces
default Block NS,Block EW

ライセンス表記

紹介ページ https://github.com/dahlys/rpgmaker/blob/master/Dahlys_Traffic.js