Difference between revisions of "Template:LSL Constants Conditional"

From Second Life Wiki
Jump to navigation Jump to search
m
 
Line 6: Line 6:
!Condition
!Condition
{{!}}-
{{!}}-
{{!}}{{LSLG|integer}}
{{!}}[[integer]]
{{!}}True if it is not zero.
{{!}}True if it is not zero.
{{!}}-
{{!}}-
{{!}}{{LSLG|float}}
{{!}}[[float]]
{{!}}True if it is not zero.
{{!}}True if it is not zero.
{{!}}-
{{!}}-
{{!}}{{LSLG|string}}
{{!}}[[string]]
{{!}}True if its [[llStringLength|length]] is not zero.
{{!}}True if its [[llStringLength|length]] is not zero.
{{!}}-
{{!}}-
{{!}}{{LSLG|key}}
{{!}}[[key]]
{{!}}True only if it is a valid key and not {{LSLG|NULL_KEY}}.
{{!}}True only if it is a valid key and not [[NULL_KEY]].
{{!}}-
{{!}}-
{{!}}{{LSLG|vector}}
{{!}}[[vector]]
{{!}}True if the vector is not {{LSLG|ZERO_VECTOR}}.
{{!}}True if the vector is not [[ZERO_VECTOR]].
{{!}}-
{{!}}-
{{!}}{{LSLG|rotation}}
{{!}}[[rotation]]
{{!}}True if the rotation is not {{LSLG|ZERO_ROTATION}}.
{{!}}True if the rotation is not [[ZERO_ROTATION]].
{{!}}-
{{!}}-
{{!}}{{LSLG|list}}
{{!}}[[list]]
{{!}}True if the [[llGetListLength|length]] is not zero.
{{!}}True if the [[llGetListLength|length]] is not zero.
{{!}}}
{{!}}}
</div>
</div>

Latest revision as of 01:15, 23 July 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.