From OpenSimulator

Revision as of 16:31, 7 October 2017 by Mewtwo0641 (Talk | contribs)

Jump to: navigation, search
list osGetNPCList()
C#: LSL_List osGetNPCList()
Returns a strided list of the UUID, position, and name of each NPC in the region. Only available after 0.9 Commit # e53f43, July 26,2017

This function is similar to OsGetAvatarList.

Threat Level None
Permissions No permissions specified
Delay No function delay specified
// Example of osGetNPCList.
    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.");
            llSay(0, "NPC's in this sim (without avatars): " + llList2CSV(npcs));
Personal tools
About This Wiki