Class Trackmark: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Andi06 (talk | contribs)
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
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]]

Latest revision as of 16:22, 9 February 2010


The interface methods to control and obtain information about the status of a Trackmark can be found in the Trackside parent class.

  • Messages sent to and from Trackmark objects are listed below:
  • To enable these messages the object must contain the tag trackmark 1 in its config.txt file.


Major Minor Source Destination
Trackmark Enter Trackmark Train
Trackmark Stopped Trackmark Train
Trackmark Leave Trackmark Train
Object Enter Train Trackmark
Object Stopped Train Trackmark
Object Leave Train Trackmark


Categories