OsGetAgents

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 +
{|  width="100%" style="border: thin solid black"
 +
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}'''
 +
|- valign="top"
 +
|'''Threat Level''' || <Threat Level goes here>
 +
 +
|- valign="top"
 +
|'''Function Syntax''' || <source lang="lsl">
 
list osGetAgents()  
 
list osGetAgents()  
 
+
</source>
Returns a list of all the agents names in the region.
+
|- valign="top"
 
+
|'''Example(s)||<source lang="lsl">
<source lang="lsl">
+
 
//
 
//
 
// Example of osGetAgents.
 
// Example of osGetAgents.
Line 19: Line 25:
 
}</source>
 
}</source>
  
 
+
|}
 +
Returns a list of all the agents names in the region.
 +
[[Category:OSSL Functions]]
 
[[Category:OSSL]]
 
[[Category:OSSL]]
 
[[Category:OSSL functions without threat level]]
 
[[Category:OSSL functions without threat level]]

Revision as of 16:15, 8 June 2011

OsGetAgents
Threat Level <Threat Level goes here>
Function Syntax
list osGetAgents()
Example(s)
//
// Example of osGetAgents.
//
default
{
    state_entry()
    {
        // Demo-Script 
    }
    touch_start(integer total_number)
    {
        llSay (0, "Agents in sim: "+ llList2CSV(osGetAgents()));
    }
}

Returns a list of all the agents names in the region.

Personal tools
General
About This Wiki