OsGetAvatarHomeURI
From OpenSimulator
(Difference between revisions)
m (Added note stating which version of OpenSim introduced this function) |
m (Script change) |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{osslfunc | {{osslfunc | ||
|threat_level=Low | |threat_level=Low | ||
| − | |permissions=${ | + | |permissions=${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER |
|delay=0 | |delay=0 | ||
| − | |function_syntax=string osGetAvatarHomeURI( | + | |function_syntax=string osGetAvatarHomeURI(key avatarId) |
|ossl_example=<source lang="lsl"> | |ossl_example=<source lang="lsl"> | ||
// | // | ||
| − | // | + | // osGetAvatarHomeURI Script Example |
| − | // | + | // |
| − | + | ||
default | default | ||
{ | { | ||
| − | touch_start(integer | + | state_entry() |
| + | { | ||
| + | llSay(PUBLIC_CHANNEL, "Touch to see osGetAvatarHomeURI usage."); | ||
| + | } | ||
| + | |||
| + | touch_start(integer number) | ||
{ | { | ||
key avatarKey = llDetectedKey(0); | key avatarKey = llDetectedKey(0); | ||
string homeUri = osGetAvatarHomeURI(avatarKey); | string homeUri = osGetAvatarHomeURI(avatarKey); | ||
| − | llSay( | + | llSay(PUBLIC_CHANNEL, "Your Home URI is: " + homeUri); |
} | } | ||
| − | }</source> | + | } |
| − | + | </source> | |
|description=Returns an avatar's Home URI. | |description=Returns an avatar's Home URI. | ||
|additional_info=This function was added in 0.8.2-post-fixes | |additional_info=This function was added in 0.8.2-post-fixes | ||
}} | }} | ||
Latest revision as of 11:55, 24 November 2020
string osGetAvatarHomeURI(key avatarId)
| |
| Returns an avatar's Home URI. | |
| Threat Level | Low |
| Permissions | ${OSSL|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER |
| Extra Delay | 0 seconds |
| Example(s) | |
// // osGetAvatarHomeURI Script Example // default { state_entry() { llSay(PUBLIC_CHANNEL, "Touch to see osGetAvatarHomeURI usage."); } touch_start(integer number) { key avatarKey = llDetectedKey(0); string homeUri = osGetAvatarHomeURI(avatarKey); llSay(PUBLIC_CHANNEL, "Your Home URI is: " + homeUri); } } | |
| Notes | |
| This function was added in 0.8.2-post-fixes | |