Difference between revisions of "Template:LSL Constants Conditional"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<div id="box">
<div style="float=left">
== Conditional Types ==
<div style="padding: 0.5em">
{{{!}} {{Prettytable}}
{{{!}} {{Prettytable}}
{{!}}+ '''Conditional Types'''
{{!}}-{{Hl2}}
{{!}}-{{Hl2}}
!Type
!Type
Line 28: Line 27:
{{!}}True if the [[llGetListLength|length]] is not zero.
{{!}}True if the [[llGetListLength|length]] is not zero.
{{!}}}
{{!}}}
</div>
</div>
</div>

Revision as of 19:34, 6 March 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.