Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008498opensim[REGION] Script Functionspublic2019-03-08 11:112019-03-08 11:28
ReporterTotal Sorbet 
Assigned To 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0008498: llSensor() for NPCs
DescriptionPretty please could we have a type flag for NPCs in llSensor() [^]
Additional InformationIts possible to use flag ACTIVE to detect NPCs but for some reason its not reliable. It seems sensor doesn't always see NPCs as active.
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineubODE
Script Engine
Mono VersionNone
Attached Files

- Relationships

-  Notes
Total Sorbet (reporter)
2019-03-08 11:14

Forgot to mention: type AGENT does not detect NPC
UbitUmarov (administrator)
2019-03-08 11:20

try NPC in place of AGENT, or AGENT | NPC for both
JeffKelley (reporter)
2019-03-08 11:25

llSensor ("", NULL_KEY, NPC, dist, angle) works.

I want to mention that functions llGetAgentList, osGetAgents, osGetAvatarList all detect NPCs.
Total Sorbet (reporter)
2019-03-08 11:26

Cool! That works :p

Thank you very much!

- Issue History
Date Modified Username Field Change
2019-03-08 11:11 Total Sorbet New Issue
2019-03-08 11:14 Total Sorbet Note Added: 0034921
2019-03-08 11:20 UbitUmarov Note Added: 0034922
2019-03-08 11:25 JeffKelley Note Added: 0034923
2019-03-08 11:26 Total Sorbet Note Added: 0034924
2019-03-08 11:28 Total Sorbet Status new => resolved

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker