no image

WaitForJunctionPermit

<kuid:131986:210011>

Author: atilabarut
Kind: drivercommand
Build: 2.0
Size: 24.33KB
Uploaded: 2019-09-17
Loadings:
18
-
0
+

WaitForJunctionPermit

A driver command that lets a driver to hold a junction until he/she releases by using the ReleaseJunction command. This command along with ReleaseJunction command help eliminate the fight between the drivers taking the same long single track line (with branches) to move from one station (Station A) to another (Station B). Here is how these commands work: (1) Create a (dummy) junction that is disconnected from the main rail network between Stations A and B, for example. (2) Give the dummy junction a unique name such as PathAtoB. (3) For all drivers stationed at both ends of PathAtoB, use WaitForJunctionPermit command to ask permissions to hold junction PathAtoB. Make sure that you choose junction PathAtoB in the menu. (4) Use ReleaseJunction command to release the junction as soon as each driver reaches their desired destination on the opposite sides. Make sure that you choose the correct junction (junction PathAtoB in this case) using this command. With this command along with ReleaseJunction command, the drivers waiting on both ends of a path are given permissions in the order in which the permissions are requested. Thus only one driver at a time can use the entire path before a second driver is given permission. Note that using this command for a regular junction in the rail network may result in unexpected behavior. Use this command to hold dummy junctions only.

Author: atilabarut

    WaitForJunctionPermit
  • config.txt 2.40KB
  • tag.tga 64.04KB
  • waitforjunctionpermit.texture.txt 41 bytes
  • waitforjunctionpermitcommand.gs 2.44KB
  • waitforjunctionpermitreleasejunction.jpg 8.02KB
  • waitforjunctionpermitschedulecommand.gs 2.74KB

VE48: This asset uses an obsolete trainz-build number. Trainz-build numbers below 3.5 are no longer supported.

User photos

No one has added a photo of this object yet