Difference between revisions of "SHIP:Node:listener"

From Serious Documentation
Jump to: navigation, search
(Properties)
(Properties)
Line 31: Line 31:
 
|-
 
|-
 
|{{:SHIP:Property:listener:enabled}}
 
|{{:SHIP:Property:listener:enabled}}
 +
|}
  
 
== Examples ==
 
== Examples ==

Revision as of 14:19, 28 November 2012

Node Home

A listener nodes watch one or more properties (including variable values!) and, when an optional condition passes, invoke a script.

Parent Nodes

The following nodes are permitted to hold this node:

Child Nodes

The following nodes are permitted to exist within this node:

Properties

Property Name Description
SHIP:Property:listener:name
listeningto** Reference:property List Comma separated list of one or more node properties that, when changed, wake the listener
condition** NumRetExp (optional) If this expression evaluates to be non-zero or true the attached script is allowed to run.
SHIP:Property:listener:enabled

Examples