llGetAgentType() Implemented?
Posted: Fri Feb 01, 2013 8:12 am
I've been working with NPCs lately and I think I found a missing/undocumented command: llGetAgentType(). The following is the last bullet point in the NPC section of the OpenSimulator 0.7.4 Release Notes:
"llGetAgentType() will now return OS_NPC if it is given an NPC UUID. It will also return AGENT if the NPC was created with the OS_NPC_SENSE_AS_AGENT flag."
The llGetAgentType() command would be very useful but I can't get it to work. I also can't find any documentation for it. Has this command been implemented or is it yet to come? It's not critical, there are alternative ways to sort NPCs from Avatars, llGetAgentType() would just make things easier.
NPCs are a blast! If you haven't tried one, read Ohn Lang's post: Action NPC on Ohn Freebies World then pop in and pick up the FREE NPC package. You and your NPCs will be glad that you did :)
"llGetAgentType() will now return OS_NPC if it is given an NPC UUID. It will also return AGENT if the NPC was created with the OS_NPC_SENSE_AS_AGENT flag."
The llGetAgentType() command would be very useful but I can't get it to work. I also can't find any documentation for it. Has this command been implemented or is it yet to come? It's not critical, there are alternative ways to sort NPCs from Avatars, llGetAgentType() would just make things easier.
NPCs are a blast! If you haven't tried one, read Ohn Lang's post: Action NPC on Ohn Freebies World then pop in and pick up the FREE NPC package. You and your NPCs will be glad that you did :)