· Home · Glossary · Sitemap ·
· ·
 

GenericTrigger

A script that sends TurnOn and TurnOff messages to other objects.

Any script can be the recipient or sender of a message, and many do both. When a script is more likely to be the sender of a message than recipient, it is considered a trigger. Properties such as Trap Control Flags have different meanings for triggers than for traps.

Messages from a trigger are sent to objects linked with ControlDevice.

Messages sent from a trigger are modified by the Trap Control Flags property. When locked, as well as not sending any messages, the script will avoid side-effects such as setting properties.

 
  tnhscript/generictrigger.txt · Last modified: 2010/11/22 17:11 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Tip Bucket Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki