Class Junction: Difference between revisions
From TrainzOnline
Jump to navigationJump to search
m 1 revision |
m Change link to library reference, not language reference |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
*[[TrainzScript | *[[TrainzScript Library Reference|API Hierarchy]] | ||
**[[Class GSObject|GSObject]] * | **[[Class GSObject|GSObject]] * | ||
***[[Class GameObject|GameObject]] | ***[[Class GameObject|GameObject]] | ||
Latest revision as of 13:44, 28 December 2020
- The interface methods to control and obtain information about the status of a Junction can be found in the JunctionBase parent class.
- Capability generic to trackside items can be found in the Trackside class, which Junction also inherits from.
Related Messages
- Messages sent to and from Junction objects are listed below:
| Major | Minor | Source | Destination |
| Junction | Toggled | Junction | Broadcast |
| Junction | Enter | Junction | Train |
| Junction | InnerEnter | Junction | Train |
| Junction | Stopped | Junction | Train |
| Junction | InnerLeave | Junction | Train |
| Junction | Leave | Junction | Train |
| Object | Enter | Train | Junction |
| Object | InnerEnter | Train | Junction |
| Object | Stopped | Train | Junction |
| Object | InnerLeave | Train | Junction |
| Object | Leave | Train | Junction |