OsGetAvatarHomeURI
From OpenSimulator
(Difference between revisions)
m (XEngine to OSSL) |
m (Script change) |
||
Line 6: | Line 6: | ||
|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 |