· Home · Glossary · Sitemap ·
· ·
 

TrapRelayRepeat

Relay TurnOn a repeated number of times with a delay between firings. By default, the relay will repeat indefinitely. The parameter repeat will limit how many times it fires. A negative value is the same as the default. TurnOff will halt the script. With autostart, the relay activates immediately without needing to be manually triggered.

Respects TrapControlFlag Once and NoOff.

Messages TurnOn, TurnOff
Links ControlDevice
Parameters interval (time) Delay between firings.
repeat (integer) Maximum number of times to fire.
autostart (boolean) Begin firing when the game starts.
 
  tnhscript/traprelayrepeat.txt · Last modified: 2010/11/22 17:12 (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