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:
23
-
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

May be used for personal use only. May be modified and re-issued on the Auran DLS as FreeWare but please credit the author.
May not be sold for financial gain in any way without the author's permission.
Item is used at final user's own risk and on the understanding that the author will not be held responsible for any damage to software or hardware, howsoever caused.

User photos

No one has added a photo of this object yet