Difference between revisions of "SHIP:Property:listener:condition"

From Serious Documentation
Jump to: navigation, search
(Created page with "=== Node: {{Node|listener}} === {| class="wikitable" style="margin: 1em auto 1em auto;" ! scope="col" | Property ! scope="col" | Data Type ! scope="col" | Description |- |<on...")
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
=== Node: {{Node|listener}} ===
 
=== Node: {{Node|listener}} ===
{| class="wikitable" style="margin: 1em auto 1em auto;"
+
{{PropTableStart|}}
! scope="col" | Property
+
|<onlyinclude>{{Prop|listener|condition}}**||<!--- Remove link until page exist {{DataType|NumRetExp}} --->'''NumRetExp'''|| (optional) If this expression evaluates to be non-zero or {{Reserved|true}} the attached {{Node|script}} is allowed to run. </onlyinclude>
! scope="col" | Data Type
 
! scope="col" | Description
 
|-
 
|<onlyinclude>{{Prop|listener|condition}}||{{DataType|ConditionExpression}}|| (optional) If this expression at run-time results in non-zero or ({{Reserved|true}}) the attached {{Node|script}} is run. </onlyinclude>
 
 
|}
 
|}
  
This property can only be created in [[SHIPTide]], and not at run-time.
+
{{SHIP:TideTimePropertyNote}}

Latest revision as of 09:36, 26 October 2016

Node: listener

Property Data Type Description
condition** NumRetExp (optional) If this expression evaluates to be non-zero or true the attached script is allowed to run.

**available only in SHIPTide; cannot be accessed from Sail scripts at run-time.