I am seeming to be having trouble with a script that I am working on. What I am attempting on doing is having a sensor detect all persons (AGENT) in a 20m radius (PI) and put these UUIDs to a List.
I know that I will have to do some type of Do/while, or For loops to list all llDetectKeys and put this to a list.
My next thing is after this is all done, and all members are detected and the list is formed, the list of UUIDs are compiled into a list of names using llKey2Name. This list of names is then used in a llDialog to allow me to select an individual person from the list... The rest of the programming I can do. I am just having an issue with the generation of the list from the sensor and then having the llDialog come up AFTER the list has been generated.
Oh yeah, and this has to either all be done in the
If a script can be shown to me I can pick it apart and get it to work. I may be missing it, but I thought that when a llSensor is called, that it has to complete before it executes the next line under the llSensor request. If they run parallel then that would be a headache.
Any ideas of how I can complete this goal?