OsNpcSetProfileAbout
From OpenSimulator
(Difference between revisions)
m (Change See Also) |
|||
(2 intermediate revisions by one user not shown) | |||
Line 4: | Line 4: | ||
|delay=0 | |delay=0 | ||
|function_syntax=osNpcSetProfileAbout(key npc, string about) | |function_syntax=osNpcSetProfileAbout(key npc, string about) | ||
+ | |description=Set about in created NPC's profile. | ||
|ossl_example=<source lang="lsl"> | |ossl_example=<source lang="lsl"> | ||
// | // | ||
// osNpcSetProfileImageScript Example | // osNpcSetProfileImageScript Example | ||
+ | // Author: djphil | ||
// | // | ||
Line 38: | Line 40: | ||
} | } | ||
</source> | </source> | ||
− | + | |additional_info=This function was added in 0.9.0.1 | |
− | + | }} | |
− | + | == See Also == | |
− | |additional_info=This function was added in 0.9.0.1}} | + | * [[osNpcSetProfileAbout]] |
+ | * [[osNpcSetProfileImage]] |
Latest revision as of 18:53, 5 December 2020
osNpcSetProfileAbout(key npc, string about)
| |
Set about in created NPC's profile. | |
Threat Level | Low |
Permissions | ${OSSL|osslNPC} |
Extra Delay | 0 seconds |
Example(s) | |
// // osNpcSetProfileImageScript Example // Author: djphil // key npc = NULL_KEY; string about = "I'm your Clone"; default { touch_start(integer number) { if (npc == NULL_KEY) { osOwnerSaveAppearance("MyClone"); llSetTimerEvent(2.0); } else { osNpcRemove(npc); npc = NULL_KEY; llRemoveInventory("MyClone"); } } timer() { llSetTimerEvent(0.0); npc = osNpcCreate("John", "Smith", llGetPos() + <0.0, 0.0, 2.0>, "MyClone"); osNpcSetProfileAbout(npc, about); } } | |
Notes | |
This function was added in 0.9.0.1 |
[edit] See Also
- osNpcSetProfileAbout
- osNpcSetProfileImage