I have updated the wiki page for it to use the correct casing version of osGetNPCList

On 10/7/2017 6:28 PM, Chris wrote:
There is a mismatch of the casing in the function name between what's displayed on the wiki and what OpenSim is expecting. Try replacing  OsGetNpcList() with osGetNPCList() in the script and it should work.

On 10/7/2017 11:49 AM, Luisillo Contepomi wrote:
In the wiki have this script
http://opensimulator.org/wiki/OsGetNpcList:

//
// Example of OsGetNpcList.
//
default
{
     touch_start(integer total_number)
     {
         list npcs = OsGetNpcList();
         if (npcs == [])
             llSay(0, "You must be the owner. There is nobody else here
who could have touched me.");
         else
             llSay(0, "NPC'sin this sim (without avatars): " + llList2CSV(npcs));
     }
}

-----------------------------------------------------------

When I try to use.. the compiling error is
Error CS0103: The name 'OsGetNpcList' does not exist in the current context

I think is not implemented in OpenSim 0.9.0.0 Release (Win/.NET)
Please confirm this issue for inform in mantis or not.
Thank you and regards,
Luisillo
_______________________________________________
Opensim-users mailing list
[email protected]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users



--
OpenSim: 10 Region Standalone on 0.8.1 Dev
Physics: Open Dynamics Engine
OS: Windows 7 (x64)
CPU: AMD FX 8320 8-Core 3.5 GHz
Memory: 16 GB DDR3
Database: MySQL 5.1.63 (x64)

_______________________________________________
Opensim-users mailing list
[email protected]
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users

Reply via email to