Difference between revisions of "Template:LSL Constants Conditional"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 16: Line 16:
{{!}}-
{{!}}-
{{!}}{{LSLG|key}}
{{!}}{{LSLG|key}}
{{!}}True if it is a valid key with the condition that it cannot be {{LSLG|NULL_KEY}}.
{{!}}True only if it is a valid key and not {{LSLG|NULL_KEY}}.
{{!}}-
{{!}}-
{{!}}{{LSLG|vector}}
{{!}}{{LSLG|vector}}
Line 25: Line 25:
{{!}}-
{{!}}-
{{!}}{{LSLG|list}}
{{!}}{{LSLG|list}}
{{!}}<strike>True if the length is not zero</strike>. [https://jira.secondlife.com/browse/SVC-9 Jira:SVC-9]
{{!}}<strike>True if the length is not zero</strike>. {{JIRA|SVC-9}}
{{!}}}
{{!}}}
</div>
</div>
</div>
</div>

Revision as of 09:14, 14 February 2007

Conditional Types

Type Condition
integer True if it is not zero.
float True if it is not zero.
string True if its length is not zero.
key True only if it is a valid key and not NULL_KEY.
vector True if the vector is not ZERO_VECTOR.
rotation True if not rotation is not a ZERO_ROTATION.
list True if the length is not zero. SVC-9