Class Trigger

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
m (1 revision)
m
Line 1: Line 1:
*[[TrainzScript Langage Reference|API Hierarchy]]
+
*[[TrainzScript Language Reference|API Hierarchy]]
 
**[[Class GSObject|GSObject]] *
 
**[[Class GSObject|GSObject]] *
 
***[[Class GameObject|GameObject]]
 
***[[Class GameObject|GameObject]]

Revision as of 02:43, 10 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


Categories

Personal tools