Directional Trigger

Directional Trigger

<kuid2:76656:70010:2>

Author: boat
Kind: scenery
Build: 3.5
Size: 26.40KB
Uploaded: 2021-12-04
Web-site: boatztrainz.co.uk
Loadings:
24
-
0
+

Directional Trigger

DIRECTIONAL TRIGGER for Scripters.
This Trigger posts 'Forward' and 'Backward' messages when crossed by a train. These messages can be used by scripters for future assets.
(Note that existing assets will continue to see this Trigger as Non-Directional!)
The 'Forward-Backward' directions are relative to the arrow shape of the Trigger.
ie - A train travelling in the direction of the arrow produces 'ForwardEnter' and 'ForwardLeave' messages.
A train travelling against the arrow produces 'BackwardEnter' and 'BackwardLeave' messages.
Be aware that the Trigger also produces the normal NON-directional 'Enter' and 'Leave' messages so the scripter will need to ignore those messages and listen for the directional ones.

Here is the list of produced messages....

FROM TO MESSAGE

Trigger Train message Trigger, ForwardEnter

Train Trigger message Object, ForwardEnter

Trigger Train message Trigger, ForwardLeave

Train Trigger message Object, ForwardLeave

Trigger Train message Trigger, BackwardEnter

Train Trigger message Object, BackwardEnter

Trigger Train message Trigger, BackwardLeave

Train Trigger message Object, BackwardLeave

Author: boat

    Directional Trigger
  • black.texture.txt 28 bytes
  • black.tga 210 bytes
  • check.jpg 946 bytes
  • check.texture.txt 28 bytes
  • config.txt 3.03KB
  • dtrig.gs 3.38KB
  • dtrig.im 5.38KB
  • screen.jpg 20.49KB

User photos

No one has added a photo of this object yet