Class Trigger: Difference between revisions
From TrainzOnline
Jump to navigationJump to search
m 1 revision |
mNo edit summary |
||
| Line 1: | Line 1: | ||
*[[TrainzScript | *[[TrainzScript Language Reference|API Hierarchy]] | ||
**[[Class GSObject|GSObject]] * | **[[Class GSObject|GSObject]] * | ||
***[[Class GameObject|GameObject]] | ***[[Class GameObject|GameObject]] | ||
Revision as of 16:43, 9 February 2010
The interface methods to control and obtain information about the status of a Trigger can be found in the Trackside parent class.
Related Messages
- Messages sent to and from Trigger objects are listed below:
- To enable these messages the object must contain the tag trigger 1 in its config.txt file.
| Major | Minor | Source | Destination |
| Trigger | Enter | Trigger | Train |
| Trigger | Stopped | Trigger | Train |
| Trigger | Leave | Trigger | Train |
| Object | Enter | Train | Trigger |
| Object | Stopped | Train | Trigger |
| Object | Leave | Train | Trigger |