Translations:TrainCarts/API/SignAction/35/en

From BergerHealer Wiki
Jump to navigation Jump to search

Some advanced methods can be overrided to make the sign act as a node in the path-finding network:

  • isRailSwitcher(event) - Return true if this sign switches the rails from/to any direction
  • getRailDestinationName(event) - Return non-null to provide a unique destination name
  • isPathFindingBlocked(event, railState) - Return true to tell the path finding algorithm that in this direction no further movement is possible