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.

Discussion




Enter your comment:
If you can't read the letters on the image, download this .wav file to get them read to you.

 
  tnhscript/traprelayrepeat.txt · Last modified: 2009/03/03 17:57 by telliamed
 
Recent changes RSS feed Creative Commons License Tip Bucket Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki