Difference between revisions of "Template:LSL Constants Sensor"

From Second Life Wiki
Jump to navigation Jump to search
m (llDetectedType() behaviors are different from llSensor*() mask)
(Added llSensor() and llSensorRepeat())
Line 6: Line 6:
! colspan="2" {{!}} '''{{{1|}}} Flag Mask'''  
! colspan="2" {{!}} '''{{{1|}}} Flag Mask'''  
! '''Description (llDetectedType())'''
! '''Description (llDetectedType())'''
! '''Description (llSensor() and llSensorRepeat() mask)'''
{{!}}-
{{!}}-
{{!}} {{#vardefine:AGENT|{{LSL Const|AGENT|integer|1|hex=0x1|c=Agents.}}}}{{#var:AGENT}}
{{!}} {{#vardefine:AGENT|{{LSL Const|AGENT|integer|1|hex=0x1|c=Agents.}}}}{{#var:AGENT}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}} Agents.
{{!}}-
{{!}}-
{{!}} {{#vardefine:ACTIVE|{{LSL Const|ACTIVE|integer|2|hex=0x2|c=Physical tasks. (Physical objects & agents) }}}}{{#var:ACTIVE}}
{{!}} {{#vardefine:ACTIVE|{{LSL Const|ACTIVE|integer|2|hex=0x2|c=Physical tasks. (Physical objects & agents) }}}}{{#var:ACTIVE}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}}
{{!}} Physical objects that are moving or objects containing an active script. Thus, it is using SL server resources now.
{{!}}
{{{!}} {{Prettytable|style={{{tstyle|}}}}}
{{!}}-{{Hl2}}
! colspan="2" {{!}} '''{{{1|}}} Flag Mask'''
! '''Description (llDetectedType())'''
{{!}}-
{{!}}-
{{!}} {{#vardefine:PASSIVE|{{LSL Const|PASSIVE|integer|4|hex=0x4|c=Non-physical objects.}}}}{{#var:PASSIVE}}
{{!}} {{#vardefine:PASSIVE|{{LSL Const|PASSIVE|integer|4|hex=0x4|c=Non-physical objects.}}}}{{#var:PASSIVE}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}} Non-scripted or script is inactive and non-physical or, if physical, not moving. Thus, it is not using SL server resources now.
{{!}}-
{{!}}-
{{!}} {{#vardefine:SCRIPTED|{{LSL Const|SCRIPTED|integer|8|hex=0x8|c=Objects containing any active script.}}}}{{#var:SCRIPTED}}
{{!}} {{#vardefine:SCRIPTED|{{LSL Const|SCRIPTED|integer|8|hex=0x8|c=Objects containing any active script.}}}}{{#var:SCRIPTED}}
{{!}} {{#var:value}}
{{!}} {{#var:value}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}} Objects containing any active script.
{{!}}}
{{!}}}



Revision as of 02:56, 22 May 2010

Flag Mask Description (llDetectedType()) Description (llSensor() and llSensorRepeat() mask)
AGENT 0x1 Agents. Agents.
ACTIVE 0x2 Physical tasks. (Physical objects & agents) Physical objects that are moving or objects containing an active script. Thus, it is using SL server resources now.
PASSIVE 0x4 Non-physical objects. Non-scripted or script is inactive and non-physical or, if physical, not moving. Thus, it is not using SL server resources now.
SCRIPTED 0x8 Objects containing any active script. Objects containing any active script.
llDetectedType() Scripted Not Scripted
Physical 10 (ACTIVE|SCRIPTED) 2 (ACTIVE)
Non-Physical 12 (PASSIVE|SCRIPTED) 4 (PASSIVE)