“LlGetAgentLanguage”的版本间的差异
| 第3行: | 第3行: | ||
{{函数详情 | {{函数详情 | ||
|函数名=Function: string llGetAgentLanguage( key avatar ); | |函数名=Function: string llGetAgentLanguage( key avatar ); | ||
| − | |参数=参数 | + | |参数=参数 key -化身 uuid 是在同一地区 |
|返回值=返回值:返回一个字符串,该字符串是用户 avatar 的首选接口语言的语言代码。 | |返回值=返回值:返回一个字符串,该字符串是用户 avatar 的首选接口语言的语言代码。 | ||
2021年8月27日 (五) 03:55的最新版本
| 首页 | 函数 | 事件 | 类型 | 操作符 | 常数 | Flow Control | Script Library | Categorized Library | Tutorials |
| 函数名 |
|---|
| Function: string llGetAgentLanguage( key avatar ); |
| 参数 key -化身 uuid 是在同一地区 |
| 返回值:返回一个字符串,该字符串是用户 avatar 的首选接口语言的语言代码。 |
| 注意事项 |
|---|
*如果用户禁用了“与对象共享语言” ,那么这个函数返回一个空字符串。
|
| 示例 |
|---|
default{
touch_start( integer num_detected ){
//-- loop through all detected touches
for (num_detected -= 1; num_detected > -1; num_detected -= 1 ){
key agent = llDetectedKey( num_detected );
string name = llGetDisplayName( agent );
string language = llGetAgentLanguage( agent );
if (("" == name)
|
| 相关函数 |
|---|
| 无 |
| 相关事件 |
|---|
| 无 |