<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
	<id>http://i.bnu.edu.cn/wiki/index.php?action=history&amp;feed=atom&amp;title=LlGetRegionAgentCount</id>
	<title>LlGetRegionAgentCount - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="http://i.bnu.edu.cn/wiki/index.php?action=history&amp;feed=atom&amp;title=LlGetRegionAgentCount"/>
	<link rel="alternate" type="text/html" href="http://i.bnu.edu.cn/wiki/index.php?title=LlGetRegionAgentCount&amp;action=history"/>
	<updated>2026-06-01T05:33:24Z</updated>
	<subtitle>本wiki的该页面的版本历史</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>http://i.bnu.edu.cn/wiki/index.php?title=LlGetRegionAgentCount&amp;diff=388&amp;oldid=prev</id>
		<title>Mkx：创建页面，内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}   {{函数详情 |函数名 = Function: integer llGetRegionAgentCount( ); |参数= 参数：  |返…”</title>
		<link rel="alternate" type="text/html" href="http://i.bnu.edu.cn/wiki/index.php?title=LlGetRegionAgentCount&amp;diff=388&amp;oldid=prev"/>
		<updated>2020-05-31T15:58:41Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}   {{函数详情 |函数名 = Function: integer llGetRegionAgentCount( ); |参数= 参数：  |返…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{函数详情&lt;br /&gt;
|函数名 = Function: integer llGetRegionAgentCount( );&lt;br /&gt;
|参数= 参数： &lt;br /&gt;
|返回值= 返回值：返回一个整数，该整数是区域中的化身数。&lt;br /&gt;
&lt;br /&gt;
|注意事项= 从技术上讲，此函数返回的值是过去一秒在区域中的代理的平均数，四舍五入为最接近的整数。这意味着当一个代理进入或退出一个区域时，代理计数会稍有延迟（&amp;lt;1秒）。&lt;br /&gt;
&lt;br /&gt;
|示例=&lt;br /&gt;
示例1&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    touch_start(integer num_detected)&lt;br /&gt;
    {&lt;br /&gt;
        integer numberOfAvatarsInSim = llGetRegionAgentCount();&lt;br /&gt;
        llSay(0, &amp;quot;There are currently &amp;quot;&lt;br /&gt;
            + (string) numberOfAvatarsInSim + &amp;quot; avatars in this sim.&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|相关函数=[[llGetAgentList]] &lt;br /&gt;
&lt;br /&gt;
[[llGetRegionFPS]] &lt;br /&gt;
 &lt;br /&gt;
[[llGetRegionTimeDilation]]&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Mkx</name></author>
		
	</entry>
</feed>