Difference between revisions of "Template:LSL Constants Conditional"

From Second Life Wiki
Jump to navigation Jump to search
Line 22: Line 22:
{{!}}-
{{!}}-
{{!}}{{LSLG|rotation}}
{{!}}{{LSLG|rotation}}
{{!}}True if not rotation is not a {{LSLG|ZERO_ROTATION}}.
{{!}}True if the rotation is not {{LSLG|ZERO_ROTATION}}.
{{!}}-
{{!}}-
{{!}}{{LSLG|list}}
{{!}}{{LSLG|list}}

Revision as of 13:51, 20 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 the rotation is not ZERO_ROTATION.
list True if the length is not zero. JIRA:SVC-9