Difference between revisions of "Template:LSL Constants Sensor"

From Second Life Wiki
Jump to navigation Jump to search
m
m (llDetectedType() behaviors are different from llSensor*() mask)
Line 5: Line 5:
{{!}}-{{Hl2}}
{{!}}-{{Hl2}}
! colspan="2" {{!}} '''{{{1|}}} Flag Mask'''  
! colspan="2" {{!}} '''{{{1|}}} Flag Mask'''  
! '''Description'''
! '''Description (llDetectedType())'''
{{!}}-
{{!}}-
{{!}} {{#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}}
Line 19: Line 19:
{{!}}-{{Hl2}}
{{!}}-{{Hl2}}
! colspan="2" {{!}} '''{{{1|}}} Flag Mask'''  
! colspan="2" {{!}} '''{{{1|}}} Flag Mask'''  
! '''Description'''
! '''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}}
Line 32: Line 32:
{{{!}} {{Prettytable}}
{{{!}} {{Prettytable}}
{{!}}-{{Hl2}}
{{!}}-{{Hl2}}
!
!llDetectedType()
!Scripted
!Scripted
!Not Scripted
!Not Scripted

Revision as of 01:21, 22 May 2010

Flag Mask Description (llDetectedType())
AGENT 0x1 Agents.
ACTIVE 0x2 Physical tasks. (Physical objects & agents)
Flag Mask Description (llDetectedType())
PASSIVE 0x4 Non-physical objects.
SCRIPTED 0x8 Objects containing any active script.
llDetectedType() Scripted Not Scripted
Physical 10 (ACTIVE|SCRIPTED) 2 (ACTIVE)
Non-Physical 12 (PASSIVE|SCRIPTED) 4 (PASSIVE)